Paste your schema and generate SQL

Paste the result of a query (e.g., from phpMyAdmin) or a ready JSON structure. Then write your question in natural language β€” we will generate a single SELECT query.

πŸ” Not sure how to extract your database schema? Check the simple step-by-step guide: πŸ“˜ How to copy a schema

1) Paste your schema

Supported: flat list (TSV/CSV/spaces) or JSON

2) Write your question in natural language

Example: β€œshow 5 best selling modules in New York with their prices”

3) Generated SQL query

β€” none β€”

Schema preview

Normalized JSON
β€” none β€”

SQL Generator from natural language

This generator is read-only β€” it does not connect to your database and does not execute queries. It returns only a proposal of a SELECT statement based on the provided schema.