Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the relational database given below. Give an expression in the relational algebra to express each of the following queries: Employee (employee-id, employee-name, age, street,
Consider the relational database given below. Give an expression in the relational algebra to express each of the following queries: Employee (employee-id, employee-name, age, street, city, branch-code). Works (employee-name, companyname, branch-name, salary) Company (companyname, city), Branch(branch-code, branch-name) (1) Find the names of all employees in this database who live in the same city as the company for which they work, (1) Find the names, street address, and cities of residence of all employees who work for HCL and earn more than $10,000 per annum (11) Display employees' details whose branch code is between 1 to 5. (iv) Find an average age of all employees whose branch code is 3. (v) Change age of employee to 25 whose employee no is 6
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started