Update for 28-02-22 17:00

This commit is contained in:
Tyler Perkins 2022-02-28 17:00:01 -05:00
parent ac2b63ba57
commit d30bd007d5

View File

@ -97,6 +97,18 @@ If we want to find an average,
`SELECT AVG(price) FROM products`
This same principle applies for
* `MAX`
* `MIN`
=== GROUP BY ===
`GROUP BY` allows us to combine with the above math and `COUNT` functions by
grouping totals based upon some other row.
`SELECT Team, COUNT(*) FROM Players GROUP BY Team`
== Views ==
A view can be created with the following command