test

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

SELECT TOP 1000 Posts.Id, Posts.AcceptedAnswerId, Count(Comments.Id) AS AnzahlKommentare
FROM Posts  
Left JOIN Comments 
ON Comments.PostId = Posts.Id 
GROUP BY Posts.Id, Posts.AcceptedAnswerId
ORDER BY AnzahlKommentare DESC

Enter Parameters

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