Practice

0

Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping

Q&A for gardeners and landscapers

SELECT TOP 1 UserId, COUNT(*) AS 'vote counts'
  FROM SuggestedEditVotes se LEFT JOIN VoteTypes vt
  ON se.VoteTypeId = vt.Id
  WHERE vt.name LIKE '%up%'
  GROUP BY UserId
  ORDER BY 2 DESC;

Enter Parameters

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