Table 'shopcom_www_2200net_com.userip' doesn't exist SELECT id FROM userip WHERE ip1='18.204.48.199' AND (s_date BETWEEN '20191117000001' AND '20191117235959')