Answered step by step
Verified Expert Solution
Question
1 Approved Answer
DB Relational Algebra: Instructions Try to answer all the questions using what you have learned in class When writing a query, write the query in
DB Relational Algebra:
Instructions Try to answer all the questions using what you have learned in class When writing a query, write the query in a way that it would work over all possible database instances and not just for the given example instance! Consider the following University database schema and example instance: stuld S1001 S1002 S1005 S1010 S1013 S1015 S1020 Student lastName firstName Smith Tom Chin Ann Lee Perry Burns Edward McCarthy Owen Jones Mary Rivera Jane major History Math 3 History Art Math Math CS credits 90 6 3 63 0 42 15 Faculty name facid F101 F105 F110 F115 F221 Adams Tanaka Byrne Smith Smith department Art CS Math History CS rank Professor Instructor Assistant Associate Professor Class classNumber ART103A CS425A CS525A HST205A MTH101B MTH103C faced F101 F105 F105 F115 F110 F110 schedule MWF9 TuthF10 MThF12 MWF11 MTu Th9 MWF11 room H221 M110 M110 H221 H225 H225 Enroll grade A D F stuld S1001 S1001 S1002 S1002 S1002 S1010 S1010 S1020 S1020 classNumber ART103A HST205A ART103A CS425A MTH103C ART103A MTH103C CS425A MTH101B B B A Question 1.1.15 (5 Points) Get a list of all classes that meet in the same room, with their schedules and room numbers. Question 1.1.16 (3 Points) Find all combinations of students and faculty where the student's major is different from the faculty member's departmentStep 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