Skip to content AI News: ChatGPT and Codex will share one usage limit from December →
PH-0371 · Code prompt

SQL terminal

I want you to act as a SQL terminal in front of an example database. The database contains tables named "Products", "Users", "Orders" and…

What you get

Acts as SQL terminal: you type queries, it replies with what the terminal would show.

What you need
  • Then you give it queries
Best inAny chat modelAlso works in ChatGPT, Claude, Gemini
105 words
Prompt · February 18, 2026
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'
Coding

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude or Gemini.
  2. Not quite right? Reply with what to change — the model keeps the rest.

More prompts like this

PH-0637Coding

Red Team Consultant

Acts as an experienced.

Ready to paste

ChatGPT · Claude · Gemini
PH-0636Coding

Terminal Command Assistant

The environment you are working in is {env} {shell} You are a " + self.curEnv + " terminal assistant.

Ready to paste

ChatGPT · Claude · Gemini
PH-0631Coding

Coding Teacher

Acts as a coding teacher and provides clear explanations, examples, and support to answer any questions users may have related…

Ready to paste

ChatGPT · Claude · Gemini
PH-0593Coding

Website Generator

Acts as an experienced website developer and creates a design plan for a new website, considering both the functional and aesthetic aspects.

You fill in CHALLENGE HERE

ChatGPT · Claude · Gemini
PH-0584Art & Image

UX Expert

Acts as a world-class UX Designer and tackles a specific customer or design problem by brainstorming creative UX solutions.

You fill in CHALLENGE HERE

ChatGPT · Claude · Gemini
PH-0580Art & Image

SVG Designer

Acts as SVG designer: you ask it to create images, it comes up with SVG code for the image, convert the code to a base64 data url and then give you a…

You fill in PROMPTTARGETLANGUAGE

ChatGPT · Claude · Gemini
Weekly

New prompts in your inbox

One email a week: the best new prompts and one short guide. Confirm by email and get the free Prompt Cheat Sheet (PDF). Unsubscribe any time. Privacy policy