Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following schema of an administrative database for college personnel: PROFESSOR ( SSN , FNAME, LNAME, RANK, SALARY ) DEPARTMENT ( NAME , OFFICE,
Consider the following schema of an administrative database for college personnel:
PROFESSORSSN FNAME, LNAME, RANK, SALARY
DEPARTMENTNAME OFFICE, PHONE, CHAIRID
MEMBERDEPT NAME, PROF ID
Primary keys are underlined in the schema definition. Foreign keys are as followConsider the following schema of an administrative database for college personnel:
PROFESSORSSN FNAME, LNAME, RANK, SALARY
DEPARTMENTNAME OFFICE, PHONE, CHAIRID
MEMBERDEPT NAME, PROF ID
Primary keys are underlined in the schema definition. Foreign keys are as follow:
Write the following queries in Relational Algebra.
a Retrieve full name first and last and rank of each professor who earns more than dollars in
salary.
b Retrieve full name first and last of all professors who are members of the department named
MATH.
c Retrieve full name first and last of all professors who serve as department chair.
d Retrieve the salary of all professors who are members of more than one department.
Database is at top and in question
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