loaitincon select loaitin_tieude,loaitin_alias,loaitin_mau,loaitin_hinhanh,loaitin_parent,loaitin_id,loaitin_bac from tbloaitin   where `loaitin_trangthai` = 1  and `loaitin_pid0` =  and loaitin_id !=  and loaitin_bac=0+1  order by loaitin_thutu 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 loaitin_id !=  and loaitin_bac=0+1  order by loaitin_thutu' at line 1