Percentage of users with a location

0

Please login or register to vote for this query.

(click on this box to dismiss)

Travel Answers

Q&A for road warriors and seasoned travelers

select sum(case when location IS NULL 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