SQL comments translated into Spanish (#27329)

pull/28368/head^2
yosoyoscar 2019-08-12 18:30:03 +02:00 committed by Randell Dawson
parent 3a4335e742
commit a458a2da99
1 changed files with 4 additions and 4 deletions

View File

@ -20,9 +20,9 @@ Al ordenar este conjunto de datos en un orden descendente (DESC), los candidatos
SELECT Candidate, Election_year, sum(Total_$), count(*)
FROM combined_party_data
WHERE Election_year = 2016
GROUP BY Candidate, Election_year -- this tells the DBMS to summarize by these two columns
HAVING sum(Total_$) > 20000000 -- limits the rows presented from the summary of money ($20 Million USD)
ORDER BY sum(Total_$) DESC; -- orders the presented rows with the largest ones first.
GROUP BY Candidate, Election_year -- indica al DBMS que agregue por estas dos columnas, en este caso suma Total_$ y cuenta el número de filas en las que coinciden Candidate y Election_year
HAVING sum(Total_$) > 20000000 -- limita las filas que se muestran a aquellas que superan los 20M (una vez sumados los datos según la claúsula GROUP BY)
ORDER BY sum(Total_$) DESC; -- ordena las filas resultantes, mostrando primero las de importe mayor
```
```text