ndy

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

select count(*) N,
       round(avg(1.0*datediff(year, CreationDate, getdate())), 1) acct_age,
       avg(Reputation) avg_rep, 
       isnull(Location, '') location
from Users 
where Location like '%Spain%'
group by isnull(Location, '')
order by count(*) desc

Enter Parameters

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