Question: Database System - SQL to RA (10 points) Convert each of the given SQL queries into an RA expression tree. (a) SELECT b.branch-name from branch

Database System - SQL to RA (10 points) Convert each of the given SQL queries into an RA expression tree. (a) SELECT b.branch-name from branch AS b, Account AS a, Customer as c, WHERE a.branch-name b.branch-name AND a.balance> 1000 AND c.city "Champaign 3 points) (b) SELECT d.customer-name, b.branch-name from Depositor AS d, branch AS b, Account AS a WHERE d.account-number = aaccount-number AND b.branch-name- a.branch-name AND d.customer-name IN (SELECT br.customer-name from Borrower as br, Loan as l where br.loan-number-Lloan-number) (7 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
