Which of the following can add a row to a table?
Correct answer
B. Insert
13 views
B. Insert
13 views
INSERT adds a new row to a table: INSERT INTO students (name, age) VALUES ('Ali', 20);.
UPDATE changes values in rows that already exist, ALTER changes the table's structure (for example, adding a column), and ADD is only a clause used inside ALTER TABLE, not a statement of its own.
Keep preparing with more Database Management Systems MCQs on MCQsExam.com.
Not sure why the answer is B? Ask here and get an explanation.