You're welcome - glad to help!
The first select, within the parentheses, gives you the rows that you want, but you had needed the additional attributes which would require joining back to your original table. To simplify the overall final query, I decided to put that first result set into a temp named result set by using the WITH clause. I named that temp result set "Lecturers". I can join to that Lecturers result set like I would any other table in the overall final query.
Your original table is joined to the temp result set on the columns that could be used as a key along with the MIN StudentId to filter out the extras.