Question: 2. (10 points) Consider the following database schema Flight (Source, Destination) Hub (City) Q.(A,B): +Flight (A,C), Hub(C), Flight(C,B), Hub(B) Qz(A,B): -Flight(A,C), Hub(C), Flight(C,B) (a) (5


2. (10 points) Consider the following database schema Flight (Source, Destination) Hub (City) Q.(A,B): +Flight (A,C), Hub(C), Flight(C,B), Hub(B) Qz(A,B): -Flight(A,C), Hub(C), Flight(C,B) (a) (5 points) Use the conjunctive query containment algorithm to show that Q, Q2 (b) (5 points) Unfold the following query Q3(A,B): -Q1(A,C), Q2(C,B) 2. (10 points) Consider the following database schema Flight (Source, Destination) Hub (City) Q.(A,B): +Flight (A,C), Hub(C), Flight(C,B), Hub(B) Qz(A,B): -Flight(A,C), Hub(C), Flight(C,B) (a) (5 points) Use the conjunctive query containment algorithm to show that Q, Q2 (b) (5 points) Unfold the following query Q3(A,B): -Q1(A,C), Q2(C,B)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
