Question: Need correct answer please I will Upvote you. 5. Consider the following relations database: Employee(person_name, street, city) Works(person name, company_name, salary) Company(company_name, city) Manages(person_name, manager_name)

Need correct answer please I will Upvote you.
5. Consider the following relations database: Employee(person_name, street, city) Works(person name, company_name, salary) Company(company_name, city) Manages(person_name, manager_name) (a) Write down relational algebra to express the following queries: (i) Find the names of all employees who do not work in Sonali Bank. (ii) Find the names of all employees who lives in Dhaka. (iii) Find the names of all employee whose manager name is Md. Salam Mia. (b) Write down SQL command for the following queries: (i) Find the employees whose salary is between 50,000 to 80,000 Taka. (ii) Find out the total amount of salary of Sonali Bank of Gazipur City. (iii) Sort the name of all employee of AB Bank of Uttara
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
