Q&A for Tridion developers and administrators
-- Enter Query Title
-- Enter Query Description
--Select MONTH(CreationDate) MONTH, Count(CreationDate) count_records from Users where YEAR (CreationDate) >= '2010' GROUP BY MONTH (CreationDate) q2
--select count(*) users from users Q1
--select * from users where location = 'South Africa' order by reputation desc
select * from badges where UserId =144424 and name = 'Enlightened' and date >='2016-01-01' and date <= '2016-12-31'
--select * from Posts where PostTypeId =1 and ownerUserId =6282
--select * from users where displayname='Adriaan Stander'
--select top (2) * from users where id=6282