I cannot execute this query SQL

Show how to define the view student grades (ID, GPA) giving the grade-point average of each…