АК
Size: a a a
АК
АК
АК
АК
АК
U
L
M
АК
АК
АК
АК
AK
M
YK
U
YK
AK
SELECT day, COUNT(history.history_create_date)
FROM generate_series(timestamp '2018-04-01', '2018-04-05', '1 day') day
LEFT JOIN core_camerahistory history ON day = history.history_create_date::date
GROUP BY day;
AK
M