G
Greg Denehy
Hi all,
Can someone please give me a hand with this query?
I have this table:
AnswerTable
[SurveyID]
[QuestionID]
[Answer]
I need to get a percentage count when the answer is 1 to questionID 29, but
grouped by Answer of QuestionID 2
That probably doesnt make sense.
I need to say basically this: SELECT count(answer=1 AND
QuestionID=29),Answer(WHEN Question ID = 2) FROM AnswerTable WHERE
QuestionID=2
Group by Answer
Hope ou can help.
Greg
Can someone please give me a hand with this query?
I have this table:
AnswerTable
[SurveyID]
[QuestionID]
[Answer]
I need to get a percentage count when the answer is 1 to questionID 29, but
grouped by Answer of QuestionID 2
That probably doesnt make sense.
I need to say basically this: SELECT count(answer=1 AND
QuestionID=29),Answer(WHEN Question ID = 2) FROM AnswerTable WHERE
QuestionID=2
Group by Answer
Hope ou can help.
Greg