SQL語句錯誤: select * from web_column b , web_advertisement a left join web_advertisement_customer c on(a.adv_cusid=c.id_web_advertisement_customer) where a.adv_colid=b.id_web_column and b.id_web_column in() and a.adv_date_s<='2021-04-18' and a.adv_date_e>='2021-04-18' and a.adv_pass='1' and (c.cus_pass='1' or a.adv_cusid=0) order by a.id_web_advertisement desc

錯誤信息: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and a.adv_date_s<='2021-04-18' and a.adv_date_e>='2021-0...' at line 4