From d69472db128c7fcc7aa6821ed112e7bb71a73823 Mon Sep 17 00:00:00 2001 From: FTarfasse <41832786+FTarfasse@users.noreply.github.com> Date: Mon, 15 Oct 2018 22:57:58 +0200 Subject: [PATCH] Remove unmentioned fields in line 39 query (#18877) Replaced fields "studentID" and "FullName" by sat_score. --- client/src/pages/guide/english/sql/sql-count-function/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/guide/english/sql/sql-count-function/index.md b/client/src/pages/guide/english/sql/sql-count-function/index.md index f63dd5bce3..0e27e133de 100644 --- a/client/src/pages/guide/english/sql/sql-count-function/index.md +++ b/client/src/pages/guide/english/sql/sql-count-function/index.md @@ -36,7 +36,7 @@ Here we get a count of students in each field of study. Here we get a count of students with the same SAT scores. ```sql - select studentID, FullName, count(*) AS studentCount from the student table with a group by sat_score; + select sat_score, count(*) AS studentCount from the student table with a group by sat_score; ``` ![image-1](https://github.com/SteveChevalier/guide-images/blob/master/count04.JPG?raw=true)