# SQL terminal

> SQL terminal

| Field | Value |
| --- | --- |
| Content type | [Code](https://dopamine-prompt.com/en/type/code) |
| Models | [GPT](https://dopamine-prompt.com/en/model/gpt) |
| Tags | [Terminals & interpreters](https://dopamine-prompt.com/en/tag/interpreter) |
| License | [MIT](https://opensource.org/license/mit) (Copyright (c) 2023 rockbenben) |
| Source | Submitted by [橘子汽水](https://dopamine-prompt.com/en/u/6b57b33c-f72b-4354-a3bd-7026eede7c68) |
| Last updated | 2026-11-26 |

## 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 I will do so in curly braces {like this}. My first command is [SQL query]
```

## Words you can change

The words in brackets in the prompt can be replaced with your own.

- `{like this}`: Type your own.
- `[SQL query]`: Type your own.

Web page: <https://dopamine-prompt.com/en/prompts/sql-terminal>
