Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

person (ID, name) parent (ID, parentID) manages (ID, mgrID) In the parent relation, ID is the ID of the child and in manages ID is

person (ID, name) parent (ID, parentID) manages (ID, mgrID) In the parent relation, ID is the ID of the child and in manages ID is the ID of the employee.

you may assume that every ID in the database in included in ID (person), and that there are no null values in the database.

But note that there may be people who are not listed as being a child, or not listed as being a parent, or not listed as being an employee, or not listed as being a manager.

Write a relational algebra(RA) for

"Find the ID and name of each person who manages all children of the person with ID 12345."

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

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

0262660709, 978-0262660709

More Books

Students also viewed these Databases questions

Question

DISCUSS its strategic importance.

Answered: 1 week ago

Question

birthday Paradox Simulation The birthday paradox using c++

Answered: 1 week ago