I want you to act as a SQL terminal in front of an example database. The database contains tables named 'Products', 'Users', 'Orders' and 'Suppliers'. I will type queries and you will reply with what the terminal would show. I want you to reply with a table of query results in a single code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something I will do so in curly braces {like this}. My first command is [SQL query]
FAQ
Is the AI really querying "that table"?
No, it makes up data based on virtual table names like Products / Users / Orders / Suppliers. Fine for teaching SELECT syntax and JOIN structure, but row counts and specific values vary each run, so it can't be used for serious testing.
Can complex queries like window functions or CTEs be simulated correctly?
Syntax is usually right, but execution results may mishandle edges (NULLs, empty tables). This prompt is enough for learning SQL syntax; for real tuning run EXPLAIN in MySQL or Postgres. The AI doesn't do execution plan analysis.
How do I use this prompt?
Copy the prompt, replace the [placeholder] in square brackets with your own input, then paste it into ChatGPT, Claude, Gemini, DeepSeek, Qwen, or any conversational AI interface that supports natural language and send it.