Who Has Answered My Questions?


Please login or register to vote for this query.

(click on this box to dismiss)

TeX - LaTeX

Q&A for users of TeX, LaTeX, ConTeXt, and related typesetting systems

declare @UserId int = ##UserId##;
-- Who Has Answered My Questions?

select u.Id as [UserId], u.displayname as [Name], a.Id as [Post Link]
from users as u 
inner join posts as a on a.owneruserid = u.id and a.posttypeid = 2
 (a.ParentId in (
   select id 
   from posts 
   where owneruserid = @UserId and posttypeid = 1
order by u.displayname

Enter Parameters

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