Convert › F130
Location Type Analysis
CJIWave 3Dataset query (SQL Server)
SELECT i.location_type, COUNT(*) AS incidents FROM incident i WHERE 1 = 1 AND i.occurred_date BETWEEN @DateFrom AND @DateTo GROUP BY i.location_type
SELECT i.location_type, COUNT(*) AS incidents FROM incident i WHERE 1 = 1 AND i.occurred_date BETWEEN @DateFrom AND @DateTo GROUP BY i.location_type