Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a database schema consisting of the following relational schemes: author_pub (_author_id_, _pub_id_, author_position) -Refers to author Publisher author (_author_id_, last_name, first_name) Describes Author pub

Consider a database schema consisting of the following relational schemes:

author_pub (_author_id_, _pub_id_, author_position) -Refers to author Publisher author (_author_id_, last_name, first_name) Describes Author pub (_pub_id_, _book_id_, title) Gives information about Publisher book (_book_id_, year, editor, book_title, month) Describes Book

author_id in author_pub is a foreign key referencing author. pub_id in author_ pub is a foreign key referencing pub. book_id in pub is a foreign key referencing book. editor in book is a foreign key referencing author (author_id). Primary keys are _underlined_.

1. What question does the following expression answer? | author_id(author) editor(book)|

2. With the help of relational algebra expression find the names of all authors who are book editors.

3. Write the relational algebra expression that return the name of all authors who are not book editors.

4. Using relational algebra expression find the name of all authors who have at least one publication in the database.

5. What question does the following relational algebra expression answer?

image text in transcribed

author * (author-pub * (omonth-July' (book) * pub)) month T JU

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

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions