I have 2 tables:
1) An Order table (which has OrderNumber as the Id)
2) An Items table which can have multiple rows and also has an OrderNumber column tying each row to the ord er row above.
Most orders have multiple rows in the Items table - but some do not and I need to pull a report of Orders with no associated Items rows.
I could do this on 2 queries in my PHP but there is clearly a smarter way to do it in MySQL. I understand JOINS but usually that's when there IS data in both tables. How do I tackle this if there ISN'T a tie in both?