Convert › F073
Request 054
CJIWave 3Dataset query (SQL Server)
SELECT o.offense_desc, i.incident_id, i.cleared, i.property_loss, i.beat, i.occurred_date, i.location_type FROM incident i JOIN offense_code o ON o.offense_code = i.offense_code WHERE i.offense_code IN ('13A') AND i.location_type = 'School' AND i.agency_id = @Agency AND i.occurred_date BETWEEN @DateFrom AND @DateTo