Common Commands Examples Joins: by @abzaaron
Common Commands Examples Joins: by @abzaaron
Common Commands Examples Joins: by @abzaaron
https://twitter.com/AbzAaron
GROUP BY Group rows that have same values into summary rows
ORDER BY Set order of result. Use DESC to reverse order
Return max value from col1
HAVING Same as WHERE but used for aggregate functions
SUM Return sum of column
AVG Return average of column
MIN Return min value of column Computer summary statistics by grouping col2
MAX Return max value of column
COUNT Count number of rows
https://www.dataquest.io/blog/sql-joins-tutorial/