Q&A for Ubuntu users and developers
SELECT top 100 Row_Number() OVER (Partition by OwnerUserId Order By Id) Row, * FROM Posts WHERE PostTypeId=1 AND DATEPART(YEAR, CreationDate)='2012' ORDER BY OwnerUserId Desc