Demographics of Users

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

-- Demographics of Users (average age)
SELECT avg(age + 0.0) as average,
sqrt(var(age)) as stderr,
(1 - (count(age) + 0.0) / count(*)) * 100 as missing_values_percentage
FROM Users
WHERE CreationDate < '2011-03-15 00:00:00'

Enter Parameters

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