SELECT DISTINCT OwnerUserId FROM Posts WHERE PostTypeId =...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Aviation Meta

Q&A about the site for aircraft pilots, mechanics, and enthusiasts

-- Users who asked questions
SELECT DISTINCT OwnerUserId
FROM Posts
WHERE PostTypeId = 1  -- 1 indicates a Question
AND OwnerUserId IS NOT NULL
EXCEPT
-- Users who answered questions
SELECT DISTINCT OwnerUserId
FROM Posts
WHERE PostTypeId = 2  -- 2 indicates an Answer
AND OwnerUserId IS NOT NULL;

Enter Parameters

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