Answers for "insert into with 3 tables"

-1

insert into with 3 tables

INSERT INTO table4 ( name, age, sex, city, id, number, nationality)
SELECT name, age, sex, city, p.id, number, n.nationality
FROM table1 p
INNER JOIN table2 c ON c.Id = p.Id
INNER JOIN table3 n ON p.Id = n.Id
Posted by: Guest on May-06-2021

Code answers related to "insert into with 3 tables"

Browse Popular Code Answers by Language