QUERY: top 10 questions

1

Please login or register to vote for this query.

(click on this box to dismiss)

PostTypeId = 1 is a question

Stack Overflow

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

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results