PostTypeId = 1 is a question
Q&A for professional and enthusiast programmers
-- QUERY: top 10 questions -- PostTypeId = 1 is a question DECLARE @UserId int = ##UserId## DECLARE @DUMMY int = ##UserId2## SELECT TOP 10 Title, Body, Score, Tags FROM Posts WHERE Score > 1000 AND PostTypeId = 1 ORDER BY Score DESC