SQL Prepare Error

Error Number: 42000

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 '' at line 1

select *,tenkhongdau_vi as tenkhongdau from table_baiviet where hienthi=1 and type=? order by stt asc,id desc limit 0,