select p.Id as PostId, u.Id as UserId from Posts as p joi...

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

-- Enter Query Title
-- Enter Query Description
select p.Id as PostId, u.Id as UserId 
from Posts as p join Users as u on p.OwnerUserId = u.Id 
join Badges as b on b.UserId = u.Id
where u.Id = 118104 and b.Name = 'Commenter'

Enter Parameters

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