perhaps you meant this??
SELECT tblbincontents.inp_SHORT_ITEM_NUMBER FROM
tblBinContents LEFT OUTER JOIN tblInventoryPrimary ON
tblBinContents.inp_SHORT_ITEM_NUMBER = tblInventoryPrimary.inp_SHORT_ITEM_NUMBER
WHERE (bin_CODE = 'QCBIN') OR (bin_CODE = '')
OR (bin_CODE IS NULL) AND tblInventoryPrimary.ist_INVENTORY_STATUS_CODE <> 'D'
GROUP BY tblBinContents.inp_SHORT_ITEM_NUMBER HAVING 1 = count(*)
------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/