Show HN: InverSQL: Build SQL interactively in inverse

Create SQL that match your selection (with explainable AI), not the other way around - rentruewang/inversql
5 points by renchuw 44 days ago github.com 0 comments
Summary not yet generated for this article.

Original Text

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

Comments (0 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open