Where have we met before?

8

Please login or register to vote for this query.

(click on this box to dismiss)

Look for all questions where two users have contributed with any of question, answer or comment

Open Source

Q&A for people organizing, marketing or licensing open source development projects

-- Look for all questions where two users have both contributed
-- in the form of question, answer or comment

select coalesce(parentid,id) 
from posts 
where owneruserid=##UserA## --1396
      or exists(select * from comments where postid=posts.id and userid=##UserA##)
intersect
select coalesce(parentid,id) 
from posts 
where owneruserid=##UserB## --807
      or exists(select * from comments where postid=posts.id and userid=##UserB##)
order by coalesce(parentid,id) desc

Enter Parameters

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