Select a.displayname, year (date), count (class) over (pa...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla Meta

Q&A about the site for Joomla! administrators, users, developers and designers

Select a.displayname, year (date), count (class) over (partition by a.displayname, year (date)) as Badges_count 
From badges as b inner join users as a on b.userid = a.id
Where a.location = 'South Africa'
And b.name = 'Enlightened' And year(b.Date) = '2016'
Order by Badges_count desc

Enter Parameters

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