SQL Terminal: Database Simulation for Developers
Description
What this prompt does
This prompt transforms an AI assistant into a fully functional SQL terminal. It emulates working with a database containing "Products", "Users", "Orders", and "Suppliers" tables.
Who it's for
- Developers — for testing SQL queries before working with real databases
- Students — for practicing and learning SQL without server setup
- Data Analysts — for prototyping complex queries
Benefits
Get query results as tables in a code block. No extra explanations — clean output like in a real terminal. You can write any SQL commands: SELECT, INSERT, UPDATE, JOIN, and more.
>_ 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'