Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dears,, I want answers to this question: Q1: author(author_id, first_name, last_name) author_pub(author_id, pub_id, author_position) book(book_id, book_title, month, year, editor) pub(pub_id, title, book_id) author_id in author_pub

Dears,,

I want answers to this question:

Q1:

author(author_id, first_name, last_name)

author_pub(author_id, pub_id, author_position)

book(book_id, book_title, month, year, editor)

pub(pub_id, title, book_id)

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- How many tuples will be returned by the following relational algebra query?

book_title(book)

2- What question does the following expression answer?

author_id (author) editor(book)

3- Write a relational algebra expression that returns the names of all authors who are book editors.

4- How many tuples are returned by the following relational algebra expression?

author author_id=editor book

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

Hands On Database

Authors: Steve Conger

1st Edition

013610827X, 978-0136108276

More Books

Students also viewed these Databases questions

Question

describe the different purposes of a transfer pricing system;

Answered: 1 week ago

Question

a. Do team members trust each other?

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago