SQL Queries
Important queries to practise for SQL
CASE WHEN
- Self joins.
DISTINCT
andGROUP BY
- Left vs Outer Joins
SUM
andCOUNT
- Date-time manipulation
- String formatting, substring
- Window functions like
RANK
andROW
- Window functions like
- Subqueries
HAVING
andWHERE
LAG
andLEAD
- Understand indexes
- Running totals
MIN
andMAX