I have this stored procedure below, it allows me to select a question id and list the username and their answer.
How would i change it so it only shows me the question id with a new column called total as below

CREATE PROCEDURE dbo.report
@Question_ID varchar(5)
AS
SELECT * FROM submit_Answer
WHERE Question_ID=@Question_ID
Thanks!
Use this to get one row for each Question_ID and Answer and count the number of occurrences in column Total.