SQL Server. A beginner's guide Cheat Sheet

A Programming › SQL cheat sheet in English by BadGuyBen

A simple cheat sheet for beginners trying to understand SQL server.

1,474 views 240 downloads 20 Aug 2024 History

Order of Execution

1
FROM
Choose and join tables to get base data
2
WHERE
Filters the base data
3
GROUP BY
Aggregates the base data
4
HAVING
Filters the aggregated data
5
SELECT
Returns the final data
6
ORDER BY
Sorts the final data
7
LIMIT
Limits the returned data to a row count

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.