Change student Record query