Query Exercise: Find the Best Time for Maintenance
If we've gotta take the database down for maintenance - perhaps a version upgrade, perhaps upgrading our own code, maybe scaling up the hardware - when's the best time to do it?
For this week's query exercise, the business has asked us to identify 3 1-hour periods with the least user activity, in this format: