Get the number of male and female premium users in the platform.
Expected Output Format
gendertotal_usersF...M
Expert's answer
selectcount(casewhen user_category='M'then1end) as male_cnt,
count(casewhen user_category='F'then0end) as female_cnt
from quiz.user_details
where Is_premium =1;
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot