SELECT TOP 10 YEAR(CreationDate) AS CreationYear, AVG(Rep...

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 TOP 10
  YEAR(CreationDate) AS CreationYear,
  AVG(Reputation) AS AvgReputation,
  SUM(Views) AS TotalViews,
  AVG(Age) AS AvgAge,
  COUNT(*) AS Number
FROM
  Users
WHERE
  WebsiteUrl != '' AND Location LIKE '%London%'
GROUP BY
  YEAR(CreationDate)

Enter Parameters

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