RienSQL
TASK #50 · Medium

Percentage of students born in 2000

Your brief
What percentage of students were born in 2000? The result of rounding to the nearest whole in the smaller side.
Expected columnspercentSchedule
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
classid, name
scheduleid, date, class, number_pair, teacher, subject, classroom
studentid, first_name, middle_name, last_name, birthday, address
student_in_classid, class, student
subjectid, name
teacherid, first_name, middle_name, last_name
timepairid, start_pair, end_pair