🙏 We need your help! SQLtest.online has no ads and lives only on donations. Even a small amount helps. Donate now →
SQL code copied to buffer
Task 6:

STEM Awards for Top CS Students

MariaDB
The university gives the STEM Achievement Award (scholarship_id = 3, 4000.00) to every active student of the Computer Science department (department_id = 6) with a GPA of 3.5 or higher. The task runs on small copies of the students (8 students), scholarships and student_scholarships tables.
Add one row to student_scholarships for each such student: awarded_date = 2026-09-01, amount_awarded = 4000.00. award_id is numbered by the server.
Expected result Columns: 4 · Rows: 4
student_id scholarship_id awarded_date amount_awarded

Write your query below and click "Check it!". Tables are described in the right pane.

Tutorial

By checking a query, you agree that it is stored without your account details and may be included in anonymized datasets, including for AI training. Learn more

The query result will appear here. Ctrl+Enter - Run query