Here is my current sql statement for the query I am running.
SELECT DISTINCTROW [Card 1].Question, [Card 1].CardType, Sum([Card 1].[Strongly Agree]) AS [Strongly Agree], Sum([Card 1].Agree) AS Agree, Sum([Card 1].Disagree) AS Disagree, Sum([Card 1].[Strongly Disagree]) AS [Strongly Disagree], Sum([Card 1].[No Opinion]) AS [No Opinion], Count(*) AS Total
FROM [Card 1]
WHERE ((([Card 1].[Date Entered]) Between [Start date] And [End Date]))
GROUP BY [Card 1].Question, [Card 1].CardType
ORDER BY [Card 1].CardType;
What I'm trying to figure out is how to add another field, at the end, that would give me a percentage of the Strongly Agree field and the Agree field compared to the Total field.
I'm kinda stumped as what to do here.
If anyone could be of assistance I would appreciate it.
Thanks.
Soulbait
"Despite the cost of living, it's still quite popular."
SELECT DISTINCTROW [Card 1].Question, [Card 1].CardType, Sum([Card 1].[Strongly Agree]) AS [Strongly Agree], Sum([Card 1].Agree) AS Agree, Sum([Card 1].Disagree) AS Disagree, Sum([Card 1].[Strongly Disagree]) AS [Strongly Disagree], Sum([Card 1].[No Opinion]) AS [No Opinion], Count(*) AS Total
FROM [Card 1]
WHERE ((([Card 1].[Date Entered]) Between [Start date] And [End Date]))
GROUP BY [Card 1].Question, [Card 1].CardType
ORDER BY [Card 1].CardType;
What I'm trying to figure out is how to add another field, at the end, that would give me a percentage of the Strongly Agree field and the Agree field compared to the Total field.
I'm kinda stumped as what to do here.
If anyone could be of assistance I would appreciate it.
Thanks.
Soulbait
"Despite the cost of living, it's still quite popular."