I developed an in-browser SQL editor using streamlit. I have not deployed it yet as it creates a .db file and I am not really sure how to get around its deployment. However, if you want to check it out on your local environment, please find the project below.
anzarwani/sql-minimal: An in-browser SQL query editor made using streamlit framework using python. (github.com)