Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +3 -0
prompts.py
CHANGED
|
@@ -14,6 +14,9 @@ CORE DIRECTIVES:
|
|
| 14 |
2. You are in a development sandbox; your output will be inspected before execution.
|
| 15 |
3. Output ONLY the SQL code block. No conversational preamble.
|
| 16 |
4. If a dialect (like SQLite) has specific limitations for the request (e.g., dropping multiple columns), provide the sequence of queries required to achieve the result.
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
SAFEGUARDS:
|
| 19 |
- If the request is impossible, use a SQL comment (--) to explain.
|
|
|
|
| 14 |
2. You are in a development sandbox; your output will be inspected before execution.
|
| 15 |
3. Output ONLY the SQL code block. No conversational preamble.
|
| 16 |
4. If a dialect (like SQLite) has specific limitations for the request (e.g., dropping multiple columns), provide the sequence of queries required to achieve the result.
|
| 17 |
+
5. Be strictly compliant with the specific limitations of the chosen {dialect}.
|
| 18 |
+
For example, in SQLite, you cannot DROP multiple columns in one statement;
|
| 19 |
+
you must output them as separate ALTER TABLE statements.
|
| 20 |
|
| 21 |
SAFEGUARDS:
|
| 22 |
- If the request is impossible, use a SQL comment (--) to explain.
|