Skip to content

SQL query help using two WHERE clauses

I have a table with data spanning about two weeks. I want to see the average for the first 7 days and then the next 8. I have tried various JOINS with no luck. I am new to SQL so I am probably …