Steven
Active Member
I haven't got access mate. That code produced an error (see below):
Code:SELECT Course.[ID], Course.Title, Course.Outline, Course.CPD, Course.Presenter, Course.Timings, Course.Compulsory, CourseEvent.CourseLocation, CourseEvent.CourseDate, CourseEvent.CourseTime FROM (((((((Course RIGHT JOIN CourseEvent ON Course.[ID] = CourseEvent.CourseID) LEFT JOIN GroupCourse ON Course.[ID] = GroupCourse.CourseID) LEFT JOIN [Group] ON GroupCourse.GroupID = Group.[ID]) LEFT JOIN PQE ON Course.PQEID = PQE.[ID]) LEFT JOIN ResponsibilityCourse ON Course.[ID] = ResponsibilityCourse.CourseID) LEFT JOIN Responsibility ON ResponsibilityCourse.ResponsibilityID = Responsibility.ID) LEFT JOIN Location ON CourseEvent.CourseLocation = Location.[ID]) LEFT JOIN RoleCourse ON Course.ID = RoleCourse.CourseID)
Server: Msg 156, Level 15, State 1, Line 17
Incorrect syntax near the keyword 'Group'.
[Group] - Remove those brackets.