TOP CATEGORIES

×

What is INSERT INTO SELECT statement in SQL?

N

Needhi Jadhau

The SQL INSERT INTO SELECT Statement is used to copies data OR add one record OR row to a table and insert copies data OR record into another table.

SQL INSERT INTO SELECT SYNTAX EXAMPLE:

INSERT INTO table_name_2

SELECT * FROM table_name_1

WHERE condition;

****************OR****************

INSERT INTO table_name_2 (column_1, column_2, column_3, ...)

SELECT column_1, column_2, column_3, ...

FROM table_name_1

WHERE condition;

1 votes

Your Answer

Email: advertise@gdatamart.com

Donate: To Support US

© 2024 GDATAMART.COM (All Rights Reserved)