My DB has a list of song I like that I have places on my web site for my friends to listen to.
Some days I will upload 5 songs. Some days 1. Some days 0.
What I want to do is select all the songs from say the last two weeks or last month but not have it limited by the number of songs or days I might have skipped uploading a song.
For example if I wanted to get the last week and the songs in my DB looked something like this:
Sat - Song Sat - Song Sat - Song
Friday - Song
Wednesday - Song Wednesday - Song
Tuesday - Song
What is the best way to query this data?