Show HN: Construct SQL from table records by breaking down decision tree
github.comCreate SQL by over fitting decision tree on data
Then I simplify the boolean representation.
The demo is hosted in streamlit (https://inversql.streamlit.app).
Sorry if this is a repost, my previous post had the wrong tag.
Nice tool. Worth flagging for folks in the design phase of their data model. Knowing what you want to report on, and what data your application actually needs, is usually how I approach schema design. Being able to draft your reports and derive your data layer from them is a good way to wrap your mind around what you need, not what you think you need.