How can i convert the following SQL query to relational algebra?
This is the table:-
Lecturer(LecId, LecName)
Module(ModuleNumber, LecId, Schedule)
Enrol(StuId, ModuleNumber)
Student(StuId, firstName, lastName)
This is the SQL:-
SELECT LecName, Schedule FROM Lecturer, Module, Enrol, Student WHERE lastName = ‘Burn’ AND firstName = ‘Edward’ AND Module.ModuleNumber = Enrol.ModuleNumber AND Lecturer.LecId = Module.LecId AND Student.StuId = Enrol.StuId
How can i show this SELECT in relational algebra? With the sybols etc…
My faith in the education system has taken another knock. I’ve answered some of your posts, and I hope to god you aren’t really doing a masters in any sort of db field.