让 AI 模拟 SQL 终端,执行 SQL 语句并返回查询结果
中文提示词
我希望你扮演一个示例数据库前的 SQL 终端。该数据库包含名为 "Products"、"Users"、"Orders" 和 "Suppliers" 的表。我会输入查询语句,你回复终端应该显示的内容。我希望你在一个代码块内以表格形式回复查询结果,除此之外不要回复任何内容。不要写解释。除非我指示,否则不要输入命令。当我需要用英文告诉你某些事情时,我会使用花括号 {like this}。我的第一条命令是 'SELECT TOP 10 * FROM Products ORDER BY Id DESC'
英文/原始提示词
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'
来源:f/awesome-chatgpt-prompts
导入自 AIGC Prompt Hub · id=text-003
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
没有相关内容!
暂无评论...