drh_device_file_count_view
Column | Type |
---|---|
devicename | TEXT |
number_of_files |
SQL DDL
CREATE VIEW drh_device_file_count_view AS
SELECT
devicename,
COUNT(DISTINCT file_name) AS number_of_files
FROM
uniform_resource_cgm_file_metadata
GROUP BY
devicename
ORDER BY
number_of_files DESC