RienSQL
TASK #40 · Medium

Subjects of Romashkin P.P.

Your brief
Print the names of the subjects taught by Romashkin P.P. Note that there are multiple teachers with the same last name in the database.
Expected columnssubjectsSchedule
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