SELECT *, LAG(CreationDate) OVER (ORDER BY CreationDate) ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

SELECT *,
       LAG(CreationDate) OVER (ORDER BY CreationDate)
FROM
    Posts p
WHERE
    PostTypeId = 6
ORDER BY CreationDate;

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results