Build a spreadsheet where a named range can be populated by a saved SQL query against a connected database — Equals' actual core trick, live data inside spreadsheet cells. Use Next.js/TypeScript with a spreadsheet-grid library, or build a simple one with rows, columns, and formula support, and a Postgres driver for the connected data source. Let the user define a 'data range': a name, a SQL query, read-only, enforce a read-only database role for the connection, and a target location in the sheet. On refresh, a manual button, since scheduled automatic refresh is real additional infrastructure, run the query and populate the target cells with the results, which normal spreadsheet formulas elsewhere in the sheet can then reference like any other cell. Support standard spreadsheet formulas — sum, average, basic arithmetic across cell references — so data-range results feed into further calculation. Add a simple bar or line chart type that reads from a cell range. Do not build pre-built connectors to specific SaaS APIs, a multiplayer collaborative engine, or scheduled automatic refresh — those are out of scope; this connects to one database you already have via SQL, nothing more. Requires hosting and a read-only connection to the database you're querying; no other external service needed.