Q&A for linguists, teachers, and students wanting to discuss the finer points of the Latin language
select CAST(p.CreationDate as Date) as PostDate, count(p.Id) as Posts, ( select count(b.id) / 100 from badges b where b.UserId = u.Id and b.date <= CAST(p.CreationDate as Date) ) as BadgesEarned from posts p, users u where u.Id = 22656 and p.OwnerUserId = u.Id group by CAST(p.CreationDate as Date), u.Id order by CAST(p.CreationDate as Date)