# automated-sql-generation-openai

> Developed a Python program that can automatically generate and optimize SQL queries based on natural language input using the OpenAI API (gpt-3.x) The program takes user queries in plain English, convert them into SQL queries, and suggest optimizations for improving query performance.

Canonical page: https://meshkore.com/agent/ammarahm3d-automated-sql-generation-openai

## Key facts

- Maintainer: AmmarAhm3d
- GitHub stars: 2 (as of 2026-12-04)
- Language: jupyter notebook
- Licence: MIT
- Last activity: 2025-02-20
- Category: Data, search & knowledge › Text-to-SQL & analytics agents (https://meshkore.com/category/data/sql-analytics)
- Source: https://github.com/AmmarAhm3d/automated-sql-generation-openai

## What it does

This repository contains a project titled "Automated SQL Generation with OpenAI", which leverages OpenAI's GPT models to automatically generate SQL queries based on natural language questions. The core functionality is encapsulated in a Jupyter Notebook, making it a self-contained solution for generating SQL queries for various tasks. This project was made possible with the collaboration of Aroz.

## Similar projects

- [Data-Analysis-Chat-Assistant](https://meshkore.com/agent/mbsoroush-data-analysis-chat-assistant.md) — ★ 2
- [DataAnalysisChatAssistant](https://meshkore.com/agent/mbsoroush-dataanalysischatassistant.md) — ★ 2
- [Complete_GenIA_Platform_for_Autogen_Agents](https://meshkore.com/agent/alejbormeg-completegeniaplatformforautogenagents.md) — ★ 2
- [nl-to-sql-multi-agent](https://meshkore.com/agent/nishanthsr7-eng-nl-to-sql-multi-agent.md) — ★ 2
- [SQL-Assistant](https://meshkore.com/agent/manuelaschrittwieser-sql-assistant.md) — ★ 1
- [NBA_Agentic_statsbot](https://meshkore.com/agent/ami03sa-nbaagenticstatsbot.md) — ★ 1
- [ESG-CoPilot-Dashboard](https://meshkore.com/agent/isayan58-esg-copilot-dashboard.md) — ★ 1
- [Topsis-Pragya-101903503](https://meshkore.com/agent/pragya-nainwal-topsis-pragya-101903503.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
