From 7393ccfba08c39d21d1e55a71e9f1b201e4beac3 Mon Sep 17 00:00:00 2001 From: FTarfasse <41832786+FTarfasse@users.noreply.github.com> Date: Mon, 15 Oct 2018 23:26:58 +0200 Subject: [PATCH] Replaced unmentioned fields by correct field (#18880) Concerned queries are line 35 & 43 --- .../src/pages/guide/spanish/sql/sql-count-function/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/pages/guide/spanish/sql/sql-count-function/index.md b/client/src/pages/guide/spanish/sql/sql-count-function/index.md index 772390db4e..2cd4d0cd88 100644 --- a/client/src/pages/guide/spanish/sql/sql-count-function/index.md +++ b/client/src/pages/guide/spanish/sql/sql-count-function/index.md @@ -32,7 +32,7 @@ select count(*) AS studentCount from student; -- count of all records Aquí obtenemos un recuento de alumnos en cada campo de estudio. ```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; ``` ![imagen-1](https://github.com/SteveChevalier/guide-images/blob/master/count03.JPG?raw=true) @@ -40,7 +40,7 @@ Aquí obtenemos un recuento de alumnos en cada campo de estudio. Aquí obtenemos un conteo de estudiantes con los mismos puntajes del SAT. ```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; ``` ![imagen-1](https://github.com/SteveChevalier/guide-images/blob/master/count04.JPG?raw=true) @@ -56,4 +56,4 @@ select Specific_Party, Election_Year, format(sum(Total_$),2) AS contribution$Tot ![imagen-1](https://github.com/SteveChevalier/guide-images/blob/master/count05.JPG?raw=true) -Al igual que con todas estas cosas, hay mucho más que eso, así que consulte el manual de su administrador de base de datos y diviértase probando diferentes pruebas usted mismo. \ No newline at end of file +Al igual que con todas estas cosas, hay mucho más que eso, así que consulte el manual de su administrador de base de datos y diviértase probando diferentes pruebas usted mismo.