PARTITION BY

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 users.Id [User Link], displayname, emailhash, reputation, location 
FROM users 
INNER JOIN posthistory ph 
	ON ph.userid = users.id 
INNER JOIN posts 
	ON posts.id = ph.postid 
WHERE tags LIKE '%##tag1##%' AND tags LIKE '%##tag2##%' 
AND LOWER(location) LIKE LOWER('%##Location##%')
GROUP BY users.Id, displayname, emailhash, reputation, location 
ORDER BY reputation DESC

Enter Parameters

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