Q&A for SharePoint enthusiasts
select * from badges where class=3 and date between '2015-04-01' and '2020-04-01' order by userid ASC