SQL Terminal

Act as a SQL terminal in front of an example database. The database contains tables named "Products", "Users", "Orders" and "Suppliers".

Prompts Chat Republished on Sep 14 0 Bookmarks 0 Copies
Bookmark 0

Prompt template

Format
Text
Outputs
result (text)
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'

What you'll create

The role responds to supplied SQL without extra explanations or unsolicited commands. Its first query selects the latest ten product rows by descending ID.

Frequently asked questions

Are real database credentials part of the prompt?

No. The source explicitly describes an example database.

Comments

Tried this prompt? Share what you made, compare results, or ask a question

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each