01Chapter 1: Your first SQL functionYou should know basic SELECT, INSERT, UPDATE, and DELETE statements, recognize common PostgreSQL types such as integer, numeric, and text, and be able to run statements in psql.1 min read
02Chapter 2: NULL inputs and STRICTThis chapter assumes you know SELECT, INSERT and CREATE TABLE, and that you can run statements in psql. It covers NULL handling, set-returning functions, volatility, and functions that change data.1 min read
03Chapter 3: Procedures and CALLThis chapter assumes you can write basic SELECT, INSERT, UPDATE, and DELETE statements, and that you can create a function in PostgreSQL. A procedure is a named block of SQL statements that runs them in order. A procedure does not return a result through a query, so you run it with CALL.2 min read