SELECT M.id, M.goal1,M.goal2,M.fordulo,M.groups,M.league,M.event_id,M.date_start,M.field_id,M.team1,M.team2,M.title, T1.team_id as team1_id,T2.team_id as team2_id,E.title as eventtitle,E.location as elocation,E.tinyurl as etinyurl,T.title as tourtitle,T.tinyurl as tourtinyurl FROM sc_match M INNER JOIN sc_match_league_event E ON E.id=M.event_id INNER JOIN sc_match_league T ON T.id=M.league INNER JOIN sc_match_league_team T1 ON T1.id=M.team1 INNER JOIN sc_match_league_team T2 ON T2.id=M.team2 WHERE T1.id IN () OR T2.id IN () ORDER BY date_start DESC
Error!: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') OR T2.id IN () ORDER BY date_start DESC' at line 8