Which SQL statement is used to insert a new data in a database?
Correct answer
A. INSERT INTO
12 views
A. INSERT INTO
12 views
INSERT INTO is the SQL statement for adding new data: INSERT INTO table_name (col1, col2) VALUES (val1, val2);.
UPDATE modifies existing records, while ADD and INSERT NEW are not valid SQL statements. INSERT belongs to the Data Manipulation Language (DML), together with SELECT, UPDATE and DELETE.
Want more practice? Try the full set of Database Management Systems MCQs on MCQsExam.com.
Not sure why the answer is A? Ask here and get an explanation.