I have two mysql tables. ItemTable
which is simple an item-id and some item related data.
--------------------------------------
| ItemId | ItemDescription | ItemPrice |
--------------------------------------
I have another table CategoryTable
that is responsible for categorizing the items into different categories
--------------------------------------
| ItemId | CategoryId |
---------------------------------------
Not all items are categorized. What is the fastest/most-efficient way to find an uncategorized item (by its id) without changing the schemas of the two tables. I tried joining the two tables on ItemId
but it disregards the uncategorized items.