Change Student Retrieval query