SELECT distinct YEAR(CreationDate), count(Id) FROM US...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu Meta

Q&A about the site for Ubuntu users and developers

SELECT
distinct YEAR(CreationDate), count(Id)
-- I want the year
--distinct YEAR(CreationDate) as years

-- and the total of new users for each year



FROM USERS 
WHERE YEAR(CreationDate) in (SELECT distinct YEAR(CreationDate) from USERS)

Group By CreationDate

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results