SQL Terminal Simulator

Simulate a SQL database environment with Products, Users, Orders, and Suppliers tables. Run SELECT queries and see tabular results without needing a real database connection.

The prompt

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 in English I will do so in curly braces {like this}. My first command is 'SELECT TOP 10 * FROM Products ORDER BY Id DESC'

Works in ChatGPT, Claude, Gemini and other assistants. Replace the highlighted placeholders with your own content.

How to use it

Send the prompt to get a simulated database with Products, Users, Orders and Suppliers tables, then run SELECT queries and see plausible result sets.

Tips for better results

  • Good for practicing joins and aggregation with no setup.
  • Ask it to show the table schemas first.
  • Results are simulated. Confirm real behavior on a real database.

Save this prompt in Promta

Keep it in your library and paste it from the menu bar, a hotkey or your iPhone keyboard, without leaving the app you're in.

Download Free on App Store

Free to start · iPhone & Mac

Related prompts

Browse all 60 prompts