Gold Java Badge Ranking in South Africa

0

Please login or register to vote for this query.

(click on this box to dismiss)

This query retrieves all the gold java badge users and ranks them according to their gold badge date received.

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

-- Gold Java Badge Ranking in South Africa
-- This query retrieves all the gold java badge users and ranks them according to their gold badge date received.

SELECT b.UserId, max(b.Date) DateReceived, u.DisplayName
FROM Users u, Badges b
WHERE b.name='java'
and u.Id=b.UserId
and u.Location like '%India%'
GROUP BY b.UserId, u.DisplayName
HAVING COUNT(*)>2
ORDER BY DateReceived

Enter Parameters

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