SELECT * FROM itemcount WHERE itemid='6' AND registdate='2018-05-22 00:00:00+09' AND sid=''