Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following SQL Query: SELECT c . name, a . atype, b . b _ address FROM customer AS c , customer _ account
Consider the following SQL Query:
SELECT cname, aatype, bbaddress
FROM customer AS c customeraccount AS ca account AS a bankbranch AS b
WHERE cssn cacssn AND caano aanum AND abno bbnum
AND aatype'student' AND bbaddress 'Armidale';
a Construct an initial ie Canonical querytree representation of this query.
b Show how your canonical querytree from part a can be optimised using The Heuristic Algebraic Optimisation Algorithm. Make sure that you show your query tree after applying each step of the algorithm.
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