# ProvSQL, entirely in your browser

PostgreSQL + ProvSQL compiled to WebAssembly (PGlite). No server, no network – everything below runs in this tab. Assets (`pglite/`, `provsql.tar.gz`) come from `wasm/` – see the README.

## Boot & self-test log

loading…

## Try a query

Provenance-tracked table `r(a int, b int)` with rows (1,2),(3,4),(1,5), each input probability 0.5. `search_path` includes `provsql`.

SELECT a, round(probability_evaluate(provenance())::numeric,4) AS prob FROM r GROUP BY a ORDER BY a;