Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A query has grouped patients by state of residence. Each group should display the number of male patients. A value of ' 2 ' in
A query has grouped patients by state of residence. Each group should display the number of male patients. A value of in the column SEXC means male. What SQL expression returns the number of male patients per group?
T ONE OF THE FOLLOWING PTS
A CASE WHEN SEXC THEN SUM ELSE O END
B CASE WHEN SEXC THEN COUNT ELSE O END
C CASE WHEN SEXC THEN ELSE END
D COUNT CASE WHEN SEXC THEN ELSE O END
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started