Answered step by step
Verified Expert Solution
Link Copied!

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:
PROFESSOR(SSN, FNAME, LNAME, RANK, SALARY)
DEPARTMENT(NAME, OFFICE, PHONE, CHAIRID)
MEMBER(DEPT 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:
PROFESSOR(SSN, FNAME, LNAME, RANK, SALARY)
DEPARTMENT(NAME, OFFICE, PHONE, CHAIRID)
MEMBER(DEPT 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 40000 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
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

Step: 3

blur-text-image

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

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago