- Aggregate data with
SUM(),MAX(),MIN() - Filter rows using
WHERE,GROUP BY - Use subquery in
WHERE
View my project here!
- Count unique values with
COUNT(DISTINCT) - Combine
SUM()andCOUNT()to calculate in each row
View my project here!
- Use
HAVINGto filter on results ofGROUP BY JOINandLEFT JOINtables
View my project here!
- Use
CASEto add a new column based on some conditions - Use window functions such as
DENSE_RANK(),SUM() - Simplify the code with
CTE
View my project here!
CASTnumeric data- Calculate the correlation and median
- Work with dates, times, and strings
View my project here!
View my project here!
View my project here!