以我的本机某项目练练手。。实际上公司的更复杂一些些
SELECT * from exercise_user as user
LEFT JOIN exercise_user_course as selectCourse
ON user.id = selectCourse.user_id
WHERE selectCourse.course_id = 4
以我的本机某项目练练手。。实际上公司的更复杂一些些
SELECT * from exercise_user as user
LEFT JOIN exercise_user_course as selectCourse
ON user.id = selectCourse.user_id
WHERE selectCourse.course_id = 4