Query Run
SELECT LEFT(log_timestamp, 8) as day, COUNT(*) FROM logging WHERE... 10 years ago