how long before I get tag badges?
Q&A for active researchers, academics and students of physics
select top(20) users.id, displayname ,datediff(d,users.creationdate,'2021-05-01') as tenture,count( badges.id) as badges_num,
(select count( *) from posts where posts.owneruserid=users.id) as posts_num
and reputation between 10000 and 20000
and users.creationdate <= '2015-01-01 0:0:0'and lastaccessdate >= '2021-03-01 0:0:0'
group by users.id,displayname,users.creationdate
order by newid()