# QueryKing: An open source SaaS solution to solve your SQL questions

**URL:** <https://discuss.streamlit.io/t/queryking-an-open-source-saas-solution-to-solve-your-sql-questions/39566>\
**Category:** Show the Community!\
**Tags:** chatgpt, llms\
**Created:** [March 17, 2023, 3:01pm UTC](https://discuss.streamlit.io/t/queryking-an-open-source-saas-solution-to-solve-your-sql-questions/39566 "2023-03-17T15:01:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smaranjitghose](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/smaranjitghose/32/5167_2.png) [@smaranjitghose](https://discuss.streamlit.io/u/smaranjitghose)\
**Post date:** [March 17, 2023, 3:01pm UTC](https://discuss.streamlit.io/t/queryking-an-open-source-saas-solution-to-solve-your-sql-questions/39566/1 "2023-03-17T15:01:31Z")

</div>

## Background

Recently, I was working for a client who requested me to create an end-to-end product for automating market research done by their product team.

While working on the project, I realized🤔 that unlike me a lot of product managers come from non-tech backgrounds and struggle😪 with crafting SQL queries. Hence, I spent the last couple of days building a solution to mitigate this

Hence, over the last couple of days, I stiched together an open-source application using Streamlit and GPT3 that lets anyone input a question with the table scheme and get the SQL query.

I would be adding more features🤩 and improving the UI💻 on the go.

## Snapshot

 ![v0.0.1_1](https://global.discourse-cdn.com/streamlit/original/3X/5/b/5b7adf6d638ab73c74f4d0b108740abe1dfe7454.png)

## Relevant Links

🔗Try out the product: [https://queryking.streamlit.app/](https://queryking.streamlit.app/)

🔗Source Code: [GitHub - smaranjitghose/QueryKing: A minimalistic application to generate SQL queries using Generative AI built with Python and Streamlit](https://github.com/smaranjitghose/QueryKing)

Do give it a try. No registration📜 or API key🗝️ is needed. Completely free😎 to try out!

Looking forward to your feedback 🗣

PS: Do give it a ✨ on GitHub if you enjoyed using it.  
🤗 Feel free to contribute to the project using the Issues Tab

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [March 16, 2024, 3:01pm UTC](https://discuss.streamlit.io/t/queryking-an-open-source-saas-solution-to-solve-your-sql-questions/39566/2 "2024-03-16T15:01:42Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
