SQL - LEFT and RIGHT JOIN
Given tables:
ProductID | Name
1 | Pen
2 | Pencil
3 | Eraser
SaleID | ProductID
101 | 1
102 | 3
What is the result of:
Products:ProductID | Name
1 | Pen
2 | Pencil
3 | Eraser
Sales:SaleID | ProductID
101 | 1
102 | 3
What is the result of:
SELECT Products.Name, Sales.SaleID FROM Products LEFT JOIN Sales ON Products.ProductID = Sales.ProductID;?