Writing queries SQL placeholders SELECT WHERE Common table expressions INSERT UPDATE DELETE CREATE TABLE DROP TABLE TRUNCATE TABLE ORM relations