You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--Question 6 - Query 3 : most common results of the style quiz
SELECT style, count(*) AS total_answers
FROM quiz
GROUP BY style
ORDER BY number_answers DESC;
Note that in the SELECT statement, the count is aliased as total_answers, but in the ORDER BY statement, it is referred to as number_answers instead, resulting in an error. Be careful about using the proper names and avoiding typos like this.
The text was updated successfully, but these errors were encountered:
sql-scratch-capstone-turn-in/Capstone VBroly/code.sql
Lines 69 to 73 in 250b89b
Note that in the SELECT statement, the count is aliased as total_answers, but in the ORDER BY statement, it is referred to as number_answers instead, resulting in an error. Be careful about using the proper names and avoiding typos like this.
The text was updated successfully, but these errors were encountered: