Answer to Question #284137 in Databases | SQL | Oracle | MS Access for Lovely

Question #284137

Get the total number of countries where the users of the platform are present.


Expected Output Format


country count


1
Expert's answer
2022-01-04T01:10:11-0500
select count(case when user_category='M' then 1 end) as male_cnt,
count(case when user_category='F' then 0 end) as female_cnt
from quiz.user_details
where Is_premium =1;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS