Table 'shopcom_www_2200net_com.userip' doesn't exist SELECT id FROM userip WHERE ip1='54.227.31.145' AND (s_date BETWEEN '20181212000001' AND '20181212235959')