Files
artcraft-services/_sql/analytics/generic_inference/generic_download_jobs.sql
T
2023-12-28 15:40:01 -05:00

11 lines
296 B
SQL

-- noinspection SqlDialectInspectionForFile
-- noinspection SqlNoDataSourceInspectionForFile
-- noinspection SqlResolveForFile
select
distinct download_type,
count(*) as created
from generic_download_jobs
where created_at > (CURDATE() - INTERVAL 60 DAY)
group by download_type;