SELECT * FROM itemcount WHERE itemid='17' AND registdate='2018-09-23 00:00:00+09' AND sid=''