able to get details of student from students table