mirror of
https://github.com/f/awesome-chatgpt-prompts.git
synced 2024-12-19 04:34:35 -05:00
Merge pull request #18 from sinanerdinc/patch-2
added Act as a SQL terminal prompt
This commit is contained in:
commit
f0d3b6c55d
@ -253,6 +253,10 @@ This project contains some [ChatGPT](https://chat.openai.com/chat) prompts that
|
||||
|
||||
> I want you to act as an instructor in a school, teaching algorithms to beginners. You will provide code examples using python programming language. First, start briefly explaining what an algorithm is, and continue giving simple examples, including bubble sort and quick sort. Later, wait for my prompt for additional questions. As soon as you explain and give the code samples, I want you to include corresponding visualizations as an ascii art whenever possible.
|
||||
|
||||
## Act as a 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 "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'
|
||||
|
||||
## Act as a Dietitian
|
||||
|
||||
> As a dietitian, I would like to design a vegetarian recipe for 2 people that has approximate 500 calories per serving and has a low glycemic index. Can you please provide a suggestion?
|
||||
|
Loading…
Reference in New Issue
Block a user