Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL Copy From Two Tables to One

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