Complete SQL Cheat Sheet
Complete SQL Cheat Sheet
Data sample
Here’s the data we’ll be using for our query examples.
Use CASE WHEN to create if/then logic in your queries. The 4 main SQL join types:
INNER JOIN
LEFT JOIN
Manipulating data
Manipulate data using a variety of functions.
Window functions
W
Use window functions to combine aggregating and
grouping of data.