What does the safe-updates mode prevent? Group of answer choices Execution without…
- User
What does the safe-updates mode prevent? Group of answer choices
Execution without SELECT
UPDATE/DELETE without WHERE or LIMIT
SELECT *
GRANT ALL
- Assistant
The correct answer is: UPDATE/DELETE without WHERE or LIMIT
Explanation:
Safe-updates mode (also known as --safe-updates or --i-am-a-dummy mode in MySQL) is a mode that prevents potentially dangerous queries that could affect many rows unintentionally. Specifically, it prevents UPDATE or DELETE statements that do not include a WHERE clause or a LIMIT clause.
This helps avoid accidental mass updates or deletions.
Why the other options are incorrect:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.