Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

InverSQL: Build SQL interactively in inverse

Details

External ID
49612826
Source
HN
Company
—
Product
InverSQL: Build SQL interactively in inverse
Website domain
github.com
Launched
Sept. 8, 2026
Cohort
—
Upvotes
5
Upvotes percentile
0.12998405103668262
Tags
—
Fetched at
Sept. 12, 2026, 5:46 p.m.
Updated at
Sept. 12, 2026, 5:46 p.m.

Description

Since both ML [1] and SQL can be used to select cells from a table, can I convert one to the other?This allows creating SQL in a smart way (select cells -> build SQL, hence the name inverse SQL).Yes.Create a decision tree (an ML predictor) from the cells selected Formulate it as SAT Simplify it Convert to SQL.Demo on streamlit.Love to hear your thoughts and suggestions on this![1]: ML = machine learning, here I’m using decision trees

Enrichment

Theme
database infrastructure and developer tools
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
AI feature
Project type
Hobby / open-source project
Normalized one-liner
interactive sql builder
Manually corrected
False

Could you build this?

Partial While an interactive spreadsheet UI can be vibe-coded, synthesizing relational SQL queries from cell selections using decision trees and SAT solvers requires non-trivial algorithmic formulation.

What it would actually take: The system requires a table UI (React/Canvas) connected to a backend that maps highlighted cells to positive/negative examples, trains a decision tree classifier, encodes the decision boundaries into Boolean satisfiability (SAT) clauses via Z3 or MiniSat, and simplifies them into relational algebra / SQL WHERE clauses. The bottleneck is program synthesis and formal verification to guarantee that generated queries generalize accurately without over-fitting. Requires knowledge of automated theorem proving, SAT/SMT solvers, and database query optimization.

Discussion

No comments on this launch.

Competitors

Other products that read as similar to this one — 57 launches clear the similarity bar, closest 8 shown.

Attention rank: #49 of 58 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 306 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.