Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

QA – Placement Quizzes | SP Contest 2 | Question 4

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Which of the following statement is used to copy data from one table and insert into another ?
(A) SELECT AND INSERT INTO
(B) INSERT INTO AND SELECT
(C) SELECT FROM AND INSERT INTO
(D) INSERT INTO SELECT


Answer: (D)

Explanation: The INSERT INTO SELECT statement copies data from one table and inserts it into another table.
Example query :
INSERT INTO table1
SELECT * FROM table2
WHERE condition;

Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 18 Jul, 2018
Like Article
Save Article
Similar Reads