# Question: Using the bank example write relational algebra queries to find

Using the bank example, write relational-algebra queries to find the accounts held by more than two customers in the following ways:

a. Using an aggregate function.

b. Without using any aggregate functions.

a. Using an aggregate function.

b. Without using any aggregate functions.

## Answer to relevant Questions

Consider the relational database of Figure. Give a relational-algebra expression for each of the following queries:a. Find the company with the most employees.b. Find the company with the smallest payroll.c. Find those ...Repeat Exercise 3.5 using the tuple relational calculus and the domain relational calculus.Consider the relational database of Figure. Give an expression in SQL for each of the following queries.a. Modify the database so that Jones now lives in Newtown.b. Give all employees of First Bank Corporation a 10 percent ...a. Display the grade for each student, based on the marks relation.b. Find the number of students with each grade.Consider the relational database of Figure. Give expressions in QBE for each of the following queries:a. Modify the database so that Jones now lives in Newtown.b. Give all employees of First Bank Corporation a 10 percent ...Post your question