Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the following queries in relational algebra, using the university schema. classroom ( building , room _ number, capacity ) department ( dept _ name,
Write the following queries in relational algebra, using the university schema.
classroombuildingroomnumber, capacity
departmentdeptname, building, budget
coursecourseidtitle deptname, credits
instructorIDname deptname, salary
sectioncourseidsecidsemester year, building, roomnumber, timeslotid
teaches IDcourseidsecidsemester year
studentIDname deptname, totcred
takesIDcourseidsecidsemester year, grade
advisor sIDiID
timeslottimeslotidday starttime, endtime
prereqcourseidprereqidFind the ID and name of each instructor in the Physics department.
Find the ID and name of each instructor in a department located in the building Watson
Find the ID and name of each student who has taken at least one course in the Comp Sci. department.
Find the ID and name of each student who has taken at least one course section in the year
Find the ID and name of each student who has not taken any course section in the year
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started