Find n-th question

2

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

declare @n int = ##n:int?10000000## - 1

SELECT Id as [Post Link] FROM Posts
WHERE PostTypeId = 1 -- question
ORDER BY CreationDate ASC
OFFSET @n ROWS
FETCH NEXT 1 ROWS ONLY

Enter Parameters

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