SQL Terminal

Practice SQL queries against a simulated database and see realistic table output results.

79 words · free to use
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 as a table in a single code block. Do not write explanations. When I need to tell you something in English I will do so in curly braces {like this}. My first query is: SELECT * FROM Users LIMIT 5;
sqldatabasequerydev

How to use this prompt

  1. Copy the prompt with the button above.
  2. Replace the parts in brackets with your own details: [like this].
  3. Paste it into ChatGPT and send it. It also works in other AI chat tools.
  4. Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.

Related code & tech prompts

See all 183 Code & Tech prompts →

Get 10 new prompts every week

Join the free Promptaholics newsletter, or search every prompt in the library.

We use cookies for analytics and ads. See our Privacy Policy.