Answers for "intersection in sql"

SQL
0

intersection in sql

SELECT  ID, NAME, Amount, Date
     FROM Customers
     LEFT JOIN Orders
     ON Customers.ID = Orders.Customer_id
INTERSECT
     SELECT  ID, NAME, Amount, Date
     FROM Customers
     RIGHT JOIN Orders
     ON Customers.ID = Orders.Customer_id;
Posted by: Guest on June-03-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language