Which SQL DML statement is used to insert new rows into a table? Group of answer choices…
- User
Which SQL DML statement is used to insert new rows into a table? Group of answer choices
SELECT
INSERT
UPDATE
DELETE
Assistant
The correct answer is: INSERT
Here's a breakdown of the options:
INSERT: Used to add new rows of data into a table.- Example:
INSERT INTO employees (name, position) VALUES ('John Doe', 'Manager');
- Example:
SELECT: Retrieves data from a database table (read-only).- Example:
SELECT * FROM employees;
- Example:
UPDATE: Modifies existing rows in a table.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.