Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL Copy From two Tables to One

INSERT INTO OldCustomerOrders
SELECT Customers.customer_id, Customers.first_name, Orders.amount
FROM Customers
JOIN Orders
ON Customers.customer_id = Orders.customer_id;
 
PREVIOUS NEXT
Tagged: #SQL #Copy #From #Tables #One
ADD COMMENT
Topic
Name
9+1 =