SELECT courseId , courseName , ols_educational.eduId , ols_educational.typeId , coursePicture , courseClass ,
courseDetail , buyNumber, originPrice , spellPrice,
spell_YoN , courseComment,courseTeacher ,courseFreeOrNot , courseCreateTime , collectCourse FROM ols_course ,
ols_educational WHERE ols_educational.eduId = ols_course.eduId AND ols_course.eduId = 1
AND courseFreeOrNot = 1
AND ols_course.eduId = 1
前期字段要缺逗号,会将前一个字段的值赋在后一个字段上边,且结果集中少一个字段