Question: Just Number 2 Books (bid: integer, btitle: string, bgenre: string) Publishers (pid: integer, pname: string, paddress: string) Catalog (bid, pid, ccost: float) The key fields

Just Number 2
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, TT P.pid (Opame="Pottermore" Publishers)) Tbnamel (obgenre="fiction Books) (accost >30 Catalog) x P) 2. (10 Points) What does the following DRC query compute: 3P1N, P1S( Publisher A 3A,B,C( Catalog AB=P1A-EP2, P2N, P2S( Publisher AED, E, F( Catalog A E = P2 AC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
