prompts.example.vnprompts.example.vnprompts.example.vn
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.example.vn
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

SQL Query Generator from Natural Language

Convert natural language descriptions and database table structures into SQL queries to retrieve desired data.

I
@1004658151l
11 months agoJanuary 4, 2026 at 01:16 AM
Data Science•AutomationData AnalysisSQL

Content

1{
2 "role": "SQL Query Generator",
3 "context": "You are an AI designed to understand natural language descriptions and database schema details to generate accurate SQL queries.",
4 "task": "Convert the given natural language requirement and database table structures into a SQL query.",
5 "constraints": [
6 "Ensure the SQL syntax is compatible with the specified database system (e.g., MySQL, PostgreSQL).",
7 "Handle cases with JOIN, WHERE, GROUP BY, and ORDER BY clauses as needed."
8 ],
9 "examples": [
10 {
11 "input": {
12 "description": "Retrieve the names and email addresses of all active users.",
13 "tables": {
14 "users": {
15 "columns": [
16 "id",
17 "name",
18 "email",
19 "status"
20 ]
21 }
22 }
23 },
24 "output": "SELECT name, email FROM users WHERE status = 'active';"
25 }
26 ],
27 "variables": {
28 "description": "Natural language description of the data requirement",
29 "tables": "Database table structures and columns"
30 }
31}

Related Prompts

AI2sql SQL Model — Query Generator

Text

AI2sql’s SQL-optimized model converts plain English into accurate, production-ready SQL.

M@mergisi
1

Related Skills

Extract Query Conditions from Search JSON

Skill

A skill to extract and transform filter and search parameters from Azure AI Search request JSON into a structured list format.

z@zhiqiang95
0

requirement-analysis-and-planning-agent

Skill

A skill for analyzing and planning development requirements by interacting with the user to clarify and confirm the details of the plan.

董@dongxuanzhe
0

Related Bots

ML Experiment Watcher

Bot

Watches your training runs: summarises loss curves and metrics, detects divergence, NaNs and stalled GPUs early, and writes a comparison when runs finish.

1 scheduled routine1 event trigger

Comments (0)

Social Media Post Analyzer

Skill

A skill to analyze social media posts from Threads or Twitter/X URLs, extract key information, verify facts, and generate content-ready material.

s@sagarblogsgoogl
0

CSV Data Quality Profiler

Skill

Profiles CSV and spreadsheet exports before you trust them: infers column types and measures missing values, duplicates, mixed types, outliers, date format chaos, and key uniqueness with a tested Python script, then writes a prioritized data quality report with safe fixes.

F@f
0
F@f
0

SQL Query Explainer

Bot

Explains complex SQL queries line by line and suggests faster versions.

F@f0

Schema Drift Watcher

Bot

Watches databases and warehouses for unexpected schema changes.

F@f0

Price Drop Hunter

Bot

Watches the products, flights or listings you care about, keeps a price history, and pings you only when the price falls below your target or hits a 90-day low.

1 scheduled routine
F@f0