Last active
October 2, 2018 21:43
-
-
Save gdoddsy/f70ca8c83910dcbcf67fe02cb766758b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT Posts.Title, acceptedAnswer.CreationDate, Users.DisplayName | |
FROM dbo.Posts | |
LEFT JOIN dbo.Posts AS acceptedAnswer | |
ON acceptedAnswer.Id = Posts.AcceptedAnswerId | |
INNER JOIN dbo.Users | |
ON acceptedAnswer.LastEditorUserId = Users.Id | |
WHERE Posts.PostTypeId = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment