Your question is SQL for Student Subject Totals. Start with the requirements and the two tables on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
American Airlines training analytics tracks student performance across multiple subjects. Write a PostgreSQL query to identify students whose sum of all recorded subject scores is greater than 200.
students with subject_scores using the student identifier.| Column | Type | Description |
|---|---|---|
| student_idPK | INTEGER | Unique student identifier |
| student_name | VARCHAR(100) | Student's full name |
| Column | Type | Description |
|---|---|---|
| score_idPK | INTEGER | Unique score record identifier |
| student_id | INTEGER | Student associated with the score |
| subject_code | VARCHAR(20) | Training subject code |
| score | INTEGER | Subject score |