[sql_error]MySQL Query Error

select id,cid,title,url,mtype,bmaddress,bmsdate,bmedate from jj_content_share where siteid1= and bmsdate='2025-03-11' order by id desc limit 0,5
[msg]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and bmsdate='2025-03-11' order by id desc limit 0,5' at line 1