Ericsson is reviewing results from an internal data engineering class. Write a PostgreSQL query to identify trainees whose grade is strictly higher than the class average.
The class average must be calculated from all non-NULL grades in student_grades. Include only students with a recorded grade above that average.
AVG, allowing PostgreSQL to ignore NULL grades.| Column | Type | Description |
|---|---|---|
| student_idPK | INTEGER | Unique trainee identifier |
| student_name | VARCHAR(100) | Trainee's full name |
| Column | Type | Description |
|---|---|---|
| student_idPK | INTEGER | Trainee identifier referencing students.student_id |
| grade | NUMERIC(5,2) | Class grade from 0 to 100 |