A Database Error Occurred

Error Number: 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 '@mail.ru = 1 Group by prod_representatives_int.id, prod_representatives_int_grou' at line 1

select * from prod_dist_int, prod_representatives_int, prod_representatives_int_group where prod_dist_int.continent_id > 0 and prod_representatives_int_group.continent_id = prod_dist_int.continent_id and prod_representatives_int.id = prod_representatives_int_group.rep_id and prod_representatives_int.ura_a@mail.ru = 1 Group by prod_representatives_int.id, prod_representatives_int_group.continent_id Order by prod_dist_int.continent_id, prod_representatives_int_group.notes1, prod_representatives_int.sort, prod_representatives_int.company, prod_representatives_int.name