I have a table with a datefield and I want to select all the entries that came from the last week,Saturday to Sunday(not last 7 days).
Table values
Date ID Value
8/3/2015 8:03 PM a 10
8/4/2015 8:03 PM b 20
8/5/2015 8:03 PM c 30
8/6/2015 8:03 PM d 40
8/7/2015 8:03 PM e 50
8/9/2015 8:03 PM f 60
8/10/2015 8:03 PM g 70
I only want to select id from last which are a,b,c,d,e. How do i write the mysql query in this ?