select distinct u.Id as [User Link], Reputation, DisplayN...

0

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
distinct u.Id as [User Link], Reputation, DisplayName, WebsiteUrl, AboutMe, Views, COUNT(a.Id) AS [answer count]
from Users u
inner join Posts a on a.OwnerUserId = u.Id
inner join Posts q on a.ParentId = q.Id
where 
    u.Location like '%CA%'  -- in California
and u.Reputation >= 1000    -- at least 1000 rep
and a.PostTypeId = 2        -- Answers ..
and (
 q.tags LIKE '%<android>%'  -- to questions with the android tag
 or q.tags LIKE '%<java>%'  -- to questions with the java tag
)
GROUP BY u.id, Reputation, DisplayName, WebsiteUrl, AboutMe, Views
order by COUNT(a.Id) DESC

Enter Parameters

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