Question: Consider the relational database as given below, where the primary keys are underlined. branch(branch _ name, branch_city, assets) customer (customer _name customer_street, customer_city) loan (loan
Consider the relational database as given below, where the primary keys are underlined. branch(branch _ name, branch_city, assets) customer (customer _name customer_street, customer_city) loan (loan _number, branch _name, amount) berrower (customer name, loan _number) account (account number, branch_name, balance) depositor (customer name, account number) Give an expression in the relational algebra to express each of the following queries. 1. Find the names of the customer who do not have either account or loan at the bank. 2.Find the names of the customers who have only loan or only account at the bank. 3. Find the branch where "Smith" have an account. 4.Find the city of the customer who hold the loan number "L-11". 5.Find the customers who have account balance greater than 2500/-
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
