Question: VOTING #24 You are writing a query to count the number of each unique type of LDA documented for male and female patients. The count
VOTING #24 You are writing a query to count the number of each unique type of LDA documented for male and female patients. The count should be broken down by sex. A value of '2' in the column SEX_C means male. Which of the following counts the number of male patients per group in your query? SELECT ONE OF THE FOLLOWING (2 PTS) A. CASE WHEN SEX_C = '2' THEN SUM( 1 ) ELSE O END B. CASE WHEN SEX_C = '2' THEN COUNT( 1 ) ELSE O END C. SUM CASE WHEN SEX_C = '2' THEN 1 ELSE O END ) D. COUNT( CASE WHEN SEX_C = '2' THEN 1 ELSE O END )
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
