Schema Used in Examples
Queries Find the names of the customers who live in city ‘Pittsfield’; Find the names of the customers who have an account; Find the names of the customers who have an account at city ‘Horseneck’; Find the names of the customers who have an account in the same city that he/she lives;
Queries Find the names of the customers who do not have an account in the same city that he/she lives; Find the name of the customers who have both an account and a loan at city ‘Brooklyn’ Find the average assets of branches in each city Find the total balance for each customer in all his/her account
Queries Find the names of the customers who have an account in every branch in city ‘Palo Alto’