MY GROUPS


select U.* from users as U inner join users_affiliations as A on U.id = A.users_id_company where A.status = 'a' and U.status = 'a' and U.is_company = 1 and A.users_id_affiliate = order by U.name \nError : (1064) 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 U.name' at line 8