Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 1 2 points ) Take into consideration the following schema and write the Relational Algebra statement for the following: Faculty ( facId , name,

(12points) Take into consideration the following schema and write the Relational Algebra statement for the following:
Faculty (facId, name, department, rank)
Class (classNo, factId, schedule, room)
Student (stuId, lastName, firstName, major, credits)
Enroll (stuId, classNo, grade)
Write the Relational Algebra statement for the following:
a) Find all information in the Student table about student with stuID Sio19.
b) Find classes that meet in room C1055.
c) Find all math majors who have more than 35 credits.
d) Find all the different majors that students have.
e) Find the rooms where each faculty member teaches.
f) Show the names and IDs of all CS majors.
9.(8points) Using the following two tables, display the resulting relations from the specified set operations.
Main_Faculty
\table[[facID,Name,Department,Rank],[F101,Adams,Art,Professor],[F105,Tanaka,CSC,Instructor],[F221,Smith,CSC,Professor]]
Branch_Faculty
\table[[facID,Name,Department,Rank],[F101,Adams,Art,Professor],[F110,Byrne,Math,Assistant],[F115,Smith,History,Associate],[F221,Smith,CSC,Professor]]
a) Main_Faculty Branch_Faculty
b) Main_Facutly Branch_Faculty
c) Main_Faculty - Branch_Faculty
d) Branch_Faculty - Main_Faculty
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M Ricardo, Susan D Urban

3rd Edition

1284056945, 9781284056945

More Books

Students also viewed these Databases questions

Question

What must a person do to apply?

Answered: 1 week ago