Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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. 3. (10 Points) What does the following DRC query compute: { 3P1N, P1S( Publisher 13A, C(E Catalog ^-(3P2, P2N, P2S(E Publisher 13D, F(E Catalog ^C > F)))))} 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. 3. (10 Points) What does the following DRC query compute: { 3P1N, P1S( Publisher 13A, C(E Catalog ^-(3P2, P2N, P2S(E Publisher 13D, F(E Catalog ^C > F)))))}
Step 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