select t.* from digisport_vereniging_team as vt,digisport_team as t where vt.vereniging_id=740 7 and vt.team_id=t.id order by t.seizoen desc,t.naam asc
mysql failure: 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 '7 and vt.team_id=t.id order by t.seizoen desc,t.naam asc' at line 1