RienSQL
TASK #49 · Medium

Percentage of students in 10 A

Your brief
What percentage of students study in the "10 A" class? Print the answer in the range from 0 to 100 rounded to four decimal places, for example, 96.0201.
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