SELECT name,address,hi_grade,lo_grade,e.state as urlstate,county_name from edu_main e JOIN netscrp_states s on e.state = s.code WHERE s.state = 'Idaho' AND e.city = 'COEUR D'ALENE' AND type = 'private'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 'ALENE' AND type = 'private'' at line 1