dagger2002
Programmer
Here is the basic query with no joins. But it is giving me a 1064 error.
I am running mysql 4
Can any one tell me my error?
I am running mysql 4
Code:
SELECT
school.cdsCode, school.dist_cdsCode, school.sname,
class.clas_id, class.clas_semester, class.clas_sMonth,
class.clas_sDay, class.clas_eMonth, class.clas_eDay,
class.clas_sTime, class.clas_eTime, class.clas_dayM,
class.clas_dayT, class.clas_dayW, class.clas_dayTH,
class.clas_dayF, class.clas_dayS, class.clas_blo,
class.clas_active, class.cour_id, class.schoo_cdsCode,
course.cour_id, course.cour_name, course.cour_active
WHERE
class.cour_id = course.cour_id AND
class.schoo_cdsCode =
school.cdsCode AND class.clas_id = 4
ORDER BY course.cour_name
Can any one tell me my error?