Question: Consider we have a database with 7 relations whose schema is shown as below: Customer = {customerID, firstName, lastName, birthDate, income} Account = {accNumber, type,


Consider we have a database with 7 relations whose schema is shown as below: Customer = {customerID, firstName, lastName, birthDate, income} Account = {accNumber, type, balance, branchNumber} Owns = {customerID, accNumber} Transactions = {transNumber, accNumber, amount , date, description} Employee = {ssn, first Name, lastName, salary,startDate, branchNumber} Personal Banker = {customerID, ssn} Branch = {branchNumber, branchName, street, numberEmployees, managerSSN, budget} Write a relational algebra query and a tuple relational calculus (TRC) query to answer each of the following questions. You may use input relation names to differentiate between attributes with the same name in the results of a join or Cartesian product (such as referring to Employee.firstName or Customer.firstName in the results of the Cartesian product of Employee and Customer). Note that you can use comparison operators (e.g. ,
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
