Convert › F058
Request 118
CJIWave 3Dataset query (SQL Server)
SELECT o.offense_desc, i.property_loss, i.beat, i.incident_id, i.reported_date, i.offense_code FROM incident i JOIN offense_code o ON o.offense_code = i.offense_code WHERE i.offense_code IN ('23H','520') AND i.location_type = 'Commercial' AND i.agency_id = @Agency AND i.occurred_date BETWEEN @DateFrom AND @DateTo