SyntaxFix
Write A Post
Hire A Developer
Questions
select DateAdded, count(DateAdded) as num_records from your_table WHERE DateAdded >=dateadd(day,datediff(day,0,GetDate())- 7,0) group by DateAdded order by DateAdded