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 ls.p desc, razlika desc, g1 desc, t.team_name ASC' at line 1