logo

Question detail

Which SQL statement inserts a new row into the Product table?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Structured Query Language (SQL)

Exam-style question

Try this first

Which SQL statement inserts a new row into the Product table?.

  1. A.INSERT INTO Product (ProductID, Name) VALUES (3, 'Keyboard');
  2. B.ADD Product (ProductID, Name) VALUES (3, 'Keyboard');
  3. C.UPDATE Product SET (ProductID, Name) VALUES (3, 'Keyboard');
  4. D.CREATE Product (ProductID, Name) VALUES (3, 'Keyboard');

Model answer

What a good answer should say

  • INSERT INTO Product (ProductID, Name) VALUES (3, 'Keyboard');

Explanation

Why this works

INSERT INTO adds a new row. The column list identifies the columns being supplied, and VALUES supplies the corresponding data.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.