SQL in the Browser: DuckDB WASM from Scratch

Put a real SQL engine in a browser tab. Build the data layer of an analytics app on DuckDB compiled to WebAssembly — a worker, a database file that survives reloads, prepared statements, window functions, and a SQL console you write yourself. Free and text-first.

  1. A SQL Engine in a Browser Tab
  2. Move the Database Off the Main Thread
  3. A Table and Twenty Thousand Rows
  4. Persistence and the Reload That Costs Nothing
  5. Prepared Statements and the IN Clause
  6. Pagination That Stays Constant
  7. Aggregates and Window Functions
  8. PIVOT, and Where Parameters Stop Working
  9. A Query Surface of Your Own

← All courses