SELECT TOP(1) * FROM PostsWithDeleted pd LEFT JOIN PostTa...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP(1) *
FROM PostsWithDeleted pd
LEFT JOIN PostTags pt ON pd.Id=pt.PostId
LEFT JOIN Posts p ON pd.Id=p.Id
WHERE p.Id IS NULL
AND pd.Tags LIKE '%wpf%'

Enter Parameters

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