Convert › F075
Request 105
CJIWave 3Dataset query (SQL Server)
SELECT o.offense_desc, i.offense_code, i.incident_id, i.property_loss FROM incident i JOIN offense_code o ON o.offense_code = i.offense_code WHERE i.offense_code IN ('13A','23H','240') AND i.location_type = 'Residence' AND i.agency_id = @Agency AND i.occurred_date BETWEEN @DateFrom AND @DateTo