Count the number of Users by CreationDate Year, ordered by Year Desc

0

Please login or register to vote for this query.

(click on this box to dismiss)

Earth Science

Q&A for those interested in the geology, meteorology, oceanography, and environmental sciences

select year(CreationDate) as Year, count(*) from Users
where year(CreationDate) >= year(getdate())-10
group by year(CreationDate)
order by Year desc;

Enter Parameters

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