query all and ITEM_ID working