Demo: database results + a local CSV
Este conteúdo não está disponível em sua língua ainda.
Which sales region missed its target? Revenue comes from PostgreSQL; targets come from a local CSV. Join them locally in omni-sql without uploading the CSV to the database. All values are fictional.
- Connect to a development PostgreSQL database and run sales.sql.
It uses
VALUES, so it creates no tables and changes no data. - Choose Analyze locally and import the Full query result. A new
Local DuckDB tab opens with a query on the imported table (named
local_analysisin the captured release; keep whatever name your workspace assigns). - Choose Import file and select targets.csv. It becomes a
local table named
targets. - Run join.sql, adjusting the two table names if needed.
- Choose Export full CSV to export the joined rows.
Expected result:
| region | revenue | target | gap | target_pct |
|---|---|---|---|---|
| North | 125000 | 100000 | 25000 | 125.0 |
| West | 112000 | 100000 | 12000 | 112.0 |
| South | 84000 | 100000 | -16000 | 84.0 |
Regenerating the media
Section titled “Regenerating the media”The README GIF and its poster are a sequence of real app screenshots kept in
docs/images/release-visuals/. Regenerate them with
python scripts/generate_release_visuals.py --local-analysis (needs Pillow and
the Windows Segoe UI fonts). Use fictional data and a test connection, hide
unrelated connections, and keep the source PNGs. If you change this demo, keep
the website’s copy of the result table aligned (see website).