Edit student detail view Query