Coding and Data

A SQL Terminal

Replace every placeholder with real context, keep private data out of the prompt, and verify the result before using it.

Prompt

Act as a SQL TerminalI 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'

What to customize

Add the real audience, source material, constraints and desired format before using this prompt.

Expected output

A useful draft shaped by the supplied context. Check facts, constraints and tone before relying on it.

Check before you rely on it

AI output can be incomplete or wrong. Verify facts, run code, check citations and keep private data out of tools that your organization has not approved.

Related prompts

View the category