2018 questions by users with no questions before 2018

0

Please login or register to vote for this query.

(click on this box to dismiss)

Programming Puzzles and Code Golf

Q&A for programming puzzle enthusiasts and code golfers

SELECT A.Id AS [Post Link], A.Score, U.DisplayName
  FROM Posts A JOIN Users U ON A.OwnerUserId = U.Id
    WHERE year(A.CreationDate) = 2018
    AND A.PostTypeId = 1 -- Post is question?
    AND NOT EXISTS (SELECT *
                    FROM Posts A2
                    WHERE A2.OwnerUserId = U.Id
                    AND year(A2.CreationDate) < 2018
                    AND A2.PostTypeId = 1)
  ORDER BY A.Score DESC

Enter Parameters

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