From 1bd1bcdf05440f52f488a7cb788dfc56db440453 Mon Sep 17 00:00:00 2001 From: FTarfasse <41832786+FTarfasse@users.noreply.github.com> Date: Mon, 15 Oct 2018 22:56:26 +0200 Subject: [PATCH] Removed unmentioned fields from query on line 33 (#18875) --- 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 40adb38908..f63dd5bce3 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 @@ -30,7 +30,7 @@ select count(*) AS studentCount from student; -- count of all records Here we get a count of students in each field of study. ```sql - select studentID, FullName, count(*) AS studentCount from the student table with a group by programOfStudy; + select programOfStudy, count(*) AS studentCount from the student table with a group by programOfStudy; ``` ![image-1](https://github.com/SteveChevalier/guide-images/blob/master/count03.JPG?raw=true)