SELECT COUNT(Posts.Id), Posts.Id AS "Id.x", COUNT(Users.U...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

SELECT COUNT(Posts.Id), Posts.Id AS "Id.x", COUNT(Users.UpVotes)
FROM Posts
LEFT JOIN
Users ON (Posts.Id = Users.Id)
GROUP BY Posts.Id
ORDER BY COUNT(Posts.Id) desc

Enter Parameters

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