Hi
Just by looking at it I can see that you are missing a bracket after sum in the inner select query. Try this
SELECT Pro.[Date], Pro.[Person Id], Pro.[Course Code], Pro.[Course Name], Pro.[GLH],
(Select Sum(Pro1.[GLH]) FROM [QryAllEnrolments Without Matching QryWithdrawls] Pro1 WHERE...