select Users.Id, Users.DisplayName, Users.Location, Bad...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Writing Meta

Q&A about the site for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing

--select count (Badges.UserId), Users.Id, Users.DisplayName, Users.Location
--from Badges, Users
--where Badges.UserId=Users.Id
--and Users.Location='Latvia'
--group by count (Badges.UserId)
--having count (Badges.UserId)>100


select Users.Id, Users.DisplayName, Users.Location, Badges.UserId, count(*)
from Users, Badges
where Users.Id=Badges.UserId
and Users.Location='Latvia'
group by Users.Id, Users.DisplayName, Users.Location, Badges.UserId
having count(*)>100

Enter Parameters

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