Percentage of users with a location

0

Please login or register to vote for this query.

(click on this box to dismiss)

Meta Stack Exchange

Q&A for meta-discussion of the Stack Exchange family of Q&A websites

select sum(case when location IS NULL THEN 0 ELSE 1 end) *1.0 / sum (1) as percentage_with_location 
from users
where aboutme IS NOT NULL

Enter Parameters

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