Error on SELECT sf_bird.index_list
FROM sf_bird, sf_person
WHERE sf_bird.id_person = sf_person.id
AND sf_person.suspended = 0
AND ( sf_person.id_team1 =
OR sf_person.id_team2 =
OR sf_person.id_team3 = ):
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 'OR sf_person.id_team2 =
OR sf_person.id_team3 = )' at line 6