I have a table as follows:
Code:
Q1 | Q2 | Q3 Agree | Disagree | Strongly Agree Disagre | Agree | Agree Agree | Strongly Agree | Disagree ...
Code:
Answer | Q1Count | Q2Count | Q3Count Agree | 2 | 3 | 5 Disagree | 1 | 5 | 3 Strongly Agree | 4 | 3 | 2 ...
Code:
SELECT AnswersTable.Q1, Count(AnswersTable.Q1) AS Q1Count, Count(AnswersTable.Q2) AS Q2Count, Count(AnswersTable.Q3) AS Q3Count FROM AnswersTable GROUP BY AnswersTable.Q1 ORDER BY AnswersTable.Q1 DESC;
Any tips on how to get the right output? Cheers.
