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 'or camp.parent=) group by camp.state order by state' at line 1

SELECT st.name as name, GROUP_CONCAT(DISTINCT camp.city SEPARATOR '|') AS city_names FROM edu_campus camp, loc_state st WHERE camp.state = st.abbrv and camp.active=1 and (camp.id= or camp.parent=) group by camp.state order by state