Convert › F152
Request 053
CJIRetireDataset query (SQL Server)
SELECT o.offense_desc, i.incident_id, i.property_loss, i.location_type, i.beat, i.reported_date, i.occurred_date FROM incident i JOIN offense_code o ON o.offense_code = i.offense_code WHERE i.offense_code IN ('23F','23H','240') AND i.location_type = 'Parking Lot' AND i.agency_id = @Agency AND i.occurred_date BETWEEN @DateFrom AND @DateTo