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 '=
AND hide != 1
ORDER BY countryname, cityname, universityname, program.term' at line 8
SELECT university.universityid, universityname, city.cityid, cityname, country.countryid, countryname, programid, termname, facultyled, hide
FROM university, city, country, program, term
WHERE
country.countryid = city.countryid
AND city.cityid = university.cityid
AND university.universityid = program.universityid
AND program.termid = term.termid
AND .id =
AND hide != 1
ORDER BY countryname, cityname, universityname, program.termid, facultyled;