SQL terminal

i see this on twitter https://twitter.com/joe_hellerstein/status/1601308490491756544
This commit is contained in:
Andy Rufasto 2022-12-09 23:59:45 -05:00 committed by GitHub
parent c8f71f6ead
commit 5f3d3e45fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -242,3 +242,7 @@ This project contains some [ChatGPT](https://chat.openai.com/chat) prompts that
> I want you to act as a fancy title generator. I will type keywords via comma and you will reply with fancy titles. my first keywords are api,test,automation
## Act as a SQL terminal.
> I want you to act as a SQL terminal in front of a database of a retail chain. The database contains tables named "Product", "Customer", "Sales", "Inventory" 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 somethingin English i will do so in curly braces {like this}. My first command is 'SELECT * FROM information_schema.tables'