Im doing a few exersices for the my head around SQL queries. Im trying to achieve all items( partno) that haven't been ordered. This is a below diagram
What im trying to achieve is the Full List of partno's from the parts table minus the Partno from the OrderedItems Table. I beleive i would need to do a Left Outter Join.
Like Below
SELECT *
FROM PARTS, ORDEREDITEMS
LEFT OUTER JOIN ordereditems.Partno - parts.Partno;
Still a bit stuck on this one, is this the right track on this?