concuano select loaitin_id from tbloaitin where loaitin_pid = order by loaitin_thutu 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 'order by loaitin_thutu' at line 1