Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am unsure how to do number 3. Books (bid: integer, btitle: string, bgenre: string) Publishers (pid: integer, pname: string, paddress: string) Catalog bid, pid,

I am unsure how to do number 3.

image text in transcribed

Books (bid: integer, btitle: string, bgenre: string) Publishers (pid: integer, pname: string, paddress: string) Catalog bid, pid, ccost: float) The key fields are underlined, and the domain of each field is listed after the field name. Thus, bid is the key for Books, pid is the key for Publishers, and bid and pid form the key for Catalog. Relation Catalog gives the prices charged for Books by Publishers. 1. (10 Points) What does the following RA query compute: p(P, TP.pid(Opname="Pottermore" Publishers)) Tbnamel(Obgenre="fiction Books) (occost>30 Catalog) P) 2. (10 Points) What does the following DRC query compute: { 3P1N, P1S( Publisher A 3A,B,C(E Catalog AB = P1A-P2, P2N, P2S( Publisher ABD, E, F( Catalog A E = P2 AC 3P1N, P1S( Publisher A 3A, C(E Catalog P2, P2N, P2S( Publisher 3D, F( Catalog AC > F)))))}

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

Database Processing Fundamentals Design And Implementation

Authors: David M. Kroenke

5th Edition

B000CSIH5A, 978-0023668814

More Books

Students also viewed these Databases questions