edit: I didn't read the whole question. :facepalm: But basically, grouping by the day of week in place of date should get you where you want to go. Start with the query you posted above, then use that ...
Learn SQL basics in just 15 minutes with this tutorial focused on using SQL with MySQL. Topics covered include: - What SQL is and an overview of relational database management systems - Installing ...
I realized how much easier my life would be if SQL had a mode() aggregate function. (I'm using it in the mathematical sense). I'm guessing that either I use SQL in a wierd way or there is a good ...