🙏 Help keep this project alive. Last month we raised only $32 - enough for servers only. Without your support, there will be no new lessons or features. Support now →
SQL code copied to buffer
RU PT FR
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 11.8 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.