Could not update user roster; 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 nbr' at line 1SELECT u.user_id, u.firstname, u.lastname, r.nbr, r.pos, r.sec_pos FROM roster r ,user u WHERE r.in_roster=1 and u.user_id =r.user_id and u.user_type_id= ORDER BY nbr