Table 'shopcom_www_2200net_com.userip' doesn't exist SELECT id FROM userip WHERE ip1='54.161.100.24' AND (s_date BETWEEN '20181021000001' AND '20181021235959')