SQL - LEFT and RIGHT JOIN
You wrote this query:
But it returns no rows for customers without orders. Why?
SELECT A.Name, B.OrderID FROM Customers A LEFT JOIN Orders B ON A.ID = B.CustomerID WHERE B.OrderID > 100;But it returns no rows for customers without orders. Why?
