select * from table_post_lang as pl,table_post as p where p.id = pl.id_post and pl.lang = 'vi' and p.type='news' and p.id in () and hienthi = 1 order by stt asc,ngaytao desc limit 0 , 61064: 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 hienthi = 1 order by stt asc,ngaytao desc limit 0 , 6' at line 1