Hi, I'm having trouble figuring out how to fix this query. I get the error: "Only one expression can be specified in the select list when the subquery is not introduced with EXISTS."select CurrentGrade, class, Semester, convert(date, RunDate) 'Run Date', ( select round(avg(cast(CurrentGrade as float)),2) as 'Average Grade', class from GradeResults where convert(date,RunDate) = (select MAX(convert(date,RunDate))'Run Date' from GradeResults) group by Class, RunDate ) as 'Average' from GradeResults where convert(date,RunDate) = (select MAX(convert(date,RunDate))'Run Date' from GradeResults) group by Class, Semester, CurrentGrade, RunDate
If anyone could point me in the right direction. Thanks!