InverSQL: Build SQL interactively in inverse
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
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
HN · launched Sep 8, 2026 · 5 upvotes (top 87%) · 0 views
Niche: database clients and gui tools · 115 launches, 6 in the last 7 days ▼ -33% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 115 launches in database clients and gui tools →
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 : 105 launches clear the similarity bar, closest 8 shown.
Attention rank: #94 of 106 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 306 days after the earliest competitor.
- JSON to SQL Converter · ph · 2026-10-08 · 1 upvotes · similarity 0.46
- Xsql · hn · 2025-12-16 · 11 upvotes · similarity 0.45
- I implemented a neural network in SQL · hn · 2026-07-13 · 121 upvotes · similarity 0.43
- Xsql · hn · 2025-12-19 · 5 upvotes · similarity 0.42
- SQLazy · ph · 2026-09-21 · 2 upvotes · similarity 0.42
- I'm not a PostgREST fan this is why I'm building an alternative · hn · 2026-09-09 · 5 upvotes · similarity 0.41
- Prela · hn · 2026-06-15 · 6 upvotes · similarity 0.40
- NLQueries · ph · 2026-11-05 · 2 upvotes · similarity 0.40
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.