Percentage of users with a location

0

Please login or register to vote for this query.

(click on this box to dismiss)

Academia

Q&A for academics and those enrolled in higher education

select sum(case when location IS NULL or location = '' THEN 0 ELSE 1 end) *1.0 / sum (1) as percentage_with_location 
from users

Enter Parameters

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