Answered step by step
Verified Expert Solution
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.
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 ACStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started