Invalid query: select ViewOnly from StudentTestQuestion WHERE Email='' AND TestId = 2 AND SectionType <= 3 AND ViewOnly is not null AND a.SectionType = 3 ORDER BY a.TestId, b.SectionType, p.PassageId, sp.SubpassageIndex, q.QuestionNum
Unknown column 'a.SectionType' in 'where clause'