Most viewed question where the given user has an answer

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

SELECT TOP 100 p1.ID, p1.Title, p1.VIewCount
from Posts p JOIN Posts p1 ON P.ParentID = p1.ID
where p.OwnerUserID = ##UserId## AND p.PostTypeID = 2
ORDER BY p1.ViewCount DESC

Enter Parameters

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