SELECT * FROM itemcount WHERE itemid='4' AND registdate='2019-07-18 00:00:00+09' AND sid=''