Show Menu
Cheatography

SQL Server. A beginner's guide Cheat Sheet by

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

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. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          SQL Server Cheat Sheet
          SQL Cheat Sheet