Table 'shopcom_www_2200net_com.userip' doesn't exist SELECT id FROM userip WHERE ip1='18.206.12.79' AND (s_date BETWEEN '20200123000001' AND '20200123235959')