select
ITEM.ITEM_ID, ITEM.ITEM_NO, ITEM_CC_PAT.CC_ID,
ITEM_CC_PAT.PAT_CHRG_NO,
ITEM_CC_PAT.PAT_CHRG_PRICE
from
ITEM, ITEM_CC_PAT
where
ITEM.ITEM_ID = ITEM_CC_PAT.ITEM_ID
and ITEM.ITEM_NO = '000642'
I'm running this but it isn't returning anything. I know for a fact that were there is an Item.xxxx that there is information there but where there is a ITEM_CC_PAT.xxxx it should return Null in those columns. Does anyone know what I can do?
I tried adding this but it still returned nothing.
Where
ITEM_CC_PAT.CC_ID IS NULL
ITEM_CC_PAT.PAT_CHRG_NO IS NULL
ITEM_CC_PAT.PAT_CHRG_PRICE IS NULL