Skip to content
Related Articles
Open in App
Not now

Related Articles

QA – Placement Quizzes | SP Contest 2 | Question 4

Improve Article
Save Article
Like Article
  • Last Updated : 18 Jul, 2018
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
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!