Q&A about the site for those interested in the study of the fundamental nature of knowledge, reality, and existence
CONVERT(VARCHAR(10), b.Date, 111) [date]
, count(*) [number of users]
from users u
inner join badges b on b.userid = u.id
where b.name = 'Caucus' collate SQL_Latin1_General_Cp1_ci_ai
and b.Date >= '2020-07-06'
and b.Date <= '2020-07-13'
and tagbased = 0
group by b.name, b.class, CONVERT(VARCHAR(10),b.Date, 111)
order by count(*)