badges per location


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select u.location
, count(*)
from users u 
inner join badges b on b.userid =
where ='java'
and u.location is not null
and u.location not in('','~', '-' )
group by u.location
order by count(*) desc

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results