Convert › F014
Request 040
CJIWave 2Dataset query (SQL Server)
SELECT o.offense_desc, i.property_loss, i.incident_id, i.beat, i.cleared, i.reported_date FROM incident i JOIN offense_code o ON o.offense_code = i.offense_code WHERE i.offense_code IN ('520') AND i.location_type = 'Street' AND i.agency_id = @Agency AND i.occurred_date BETWEEN @DateFrom AND @DateTo