Skip to content

Commit

Permalink
Avg_Citation_Count needs to be rewritten
Browse files Browse the repository at this point in the history
AVG(Citation_Count) needs to match AVG(Citation_Count) to be executed without an error.
  • Loading branch information
scottcpeterson authored Feb 4, 2021
1 parent f13d6fe commit bda69fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/04-aggregating-calculating.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ As you can see, it is difficult to tell though what ISSN has the highest average
SELECT ISSNs, AVG(Citation_Count)
FROM articles
GROUP BY ISSNs
ORDER BY Avg_Citation_Count DESC;
ORDER BY AVG(Citation_Count) DESC;
~~~
{: .sql}

Expand Down

0 comments on commit bda69fd

Please sign in to comment.