Code
SQL Query Builder
Generate SQL from plain English descriptions.
Write a SQL query that [DESCRIPTION IN PLAIN ENGLISH]. Database: [MySQL/PostgreSQL/SQLite/etc]. Relevant tables and columns:
[DESCRIBE TABLE STRUCTURE]
Explain each part of the query. If there are multiple ways to write this, show the most performant approach and explain why. Include any indexes that would improve performance.
SQLdatabasequery
Want to use this with one click inside ChatGPT?
Get TresPrompt →