Show Menu
Cheatography

SQL Cheat Sheet Cheat Sheet (DRAFT) by

A quick reference for SQL

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Retrieve Data with SELECT

SELECT * FROM actor
SELECT first_name FROM actor
SELECT first_­name, last_name FROM actor

Filter Results with the WHERE Clause

SELECT * FROM actor WHERE first_name = "­PEN­ELO­PE"