![]() |
Group By Query - Count Multiple Choice Answers
I'm trying to count answers to a series of multiple questions but can't get the SQL query to work properly.
I have a table as follows: Code:
Q1 | Q2 | Q3Code:
Answer | Q1Count | Q2Count | Q3CountCode:
SELECT AnswersTable.Q1, Count(AnswersTable.Q1) AS Q1Count, Count(AnswersTable.Q2) AS Q2Count, Count(AnswersTable.Q3) AS Q3CountAny tips on how to get the right output? Cheers. |
| All times are GMT +5.5. The time now is 05:32. |