1select id from tbname
2
3where date between date_sub(now(),INTERVAL 1 WEEK) and now();
1select id from tbname
2where date between date_sub(now(),INTERVAL 1 WEEK) and now();
1select min(date), max(date)
2from calendar
3where week = datepart(week, getdate() - 7)
4and year = datepart(year, getdate() - 7)