View A: used devices (no primary key, many records per day) experiment
bucket device seconds x y z day Mandatory user-defined filter:
experiment and the time interval. Report the SUM(seconds) per bucket:
SELECT bucket, sum(seconds ) FROM A WHERE expe...