Python answers of mine that were downvoted

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

SELECT
p.Id as [Post Link],
COUNT(v.PostId)
FROM Votes AS v
INNER JOIN Posts AS p ON v.PostId = p.Id
INNER JOIN Users AS u ON p.OwnerUserId = u.Id
WHERE ( v.VoteTypeId = 3 ) AND u.Id = 100297
GROUP BY p.Id
ORDER BY 2 DESC

Enter Parameters

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