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