query for get name of students debug