Convert › F171
Request 115
CJIRetireDataset query (SQL Server)
SELECT o.offense_desc, i.occurred_date, i.cleared, i.offense_code FROM incident i JOIN offense_code o ON o.offense_code = i.offense_code WHERE i.offense_code IN ('120','290','35A') AND i.location_type = 'Residence' AND i.agency_id = @Agency AND i.occurred_date BETWEEN @DateFrom AND @DateTo