declare @userId as int = ##userId##; select q.Title, a.C...


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for committed Christians, experts in Christianity and those interested in learning more

declare @userId as int = ##userId##;

select q.Title, a.CreationDate, a.Score, '' + cast(q.Id as nvarchar) as Permalink
from posts a
join posts q on a.ParentId = q.Id
join votes v on a.Id = v.PostId
where a.PostTypeId = 2
and q.PostTypeId = 1
and v.VoteTypeId = 1
and a.owneruserid = @userId
order by score desc;

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results