Migration Workbench | Workspace: Sample data
RE
Report inventory › Monthly Crime Trend - Agency C (2024)
WI

Monthly Crime Trend - Agency C (2024)

Consolidate
SAP BusinessObjects Web Intelligence web intelligence document  ·  /Public Folders/Agency C/Executive/Monthly Crime Trend - Agency C (2024)
Source query
SELECT substr(i.occurred_date,1,7) AS month,
       COUNT(*) AS incidents
FROM incident i
WHERE i.agency_id = 3
  AND i.occurred_date BETWEEN '2024-01-01' AND '2024-12-31'
GROUP BY substr(i.occurred_date,1,7)