🙏 We really need your support. We need funding to continue our mission: publishing new lessons and improving the platform. If you can, please support the project with a donation. Help the project now →
SQL code copied to buffer
Task 17:

Student Enrollment Age

Create a query to retrieve information about students from the students table. Your output should include the following columns:
- student_number
- first_name
- last_name
- date_of_birth
- enrollment_date
- A calculated column named age_at_enrollment that represents the age of each student at the time of enrollment.

The results should be sorted by age_at_enrollment in ascending order.

Use MariaDB syntax to write your answer. Descriptions of tables are provided in the right pane.

Write your request in the field below and click the "Check it!" button.
Get hint
Copy code Clear editor

Hi! Could we please enable some services and cookies to improve your experience and our website?

Privacy & Cookie Policy.