A very simple, good, fast way to learn PostgreSQL (if you already know SQL) also you may learn SQL here too.
It has kind of everything a beginer need to know. Even JOIN or other things. But in category:
TABLE: Create, Drop, Truncate, Not NULL stuffSELECT: All columns, specified columnsINSERT: Simple way, specified columns, insert manyWHERE: Covering important things like between, less, more and etcUPDATE: Updating single row and multi rows with WHEREDELETE: Deleting single row and multi rows with WHEREORDER BY: Sorting one col, more than one col having ASC and DESCGROUP BY: Base of grouping and aggrigationHAVING: Maybe another time I'll add itLIMIT: Using sort and limitALTER TABLE: Add columns, remove columnsMulti Table: Having more than 1 tablesFOREIGN KEY: Relation Matters Most (RMM)JOIN: A brief of how is join working. EVEN GOD DOESN'T KNOWJOIN: Using INNER, LEFT, RIGHT and FULL. EVEN GOD DOESN'T KNOWRelations: One to One (1:1), One to Many (1:N), Many to Many (N:N)
This is 1:30 AM Jun 13 here in Tehran, ran out of Melatonin pils. So, creating this cheat sheet is only thing I could do.