SELECT items.it_name, user_item_history.ID FROM items LEFT JOIN user_item_history ON (user_item_history.it_ID = items.it_ID)This will give you all items, and include the ID of any associated history items. Any item that has no history will still return a row with a NULL user_item_history.ID.
-- grummerX
In reply to Re: Newbie can't see the forest
by grummerX
in thread Newbie can't see the forest
by CrossEyedMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |