Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Express the following colloquial queries in relational algebra. Consider the following database schema: EMPLOYEE (emp_name: string, address_street: string, address_city: string, phone_no: integer) DEPARTMENT (dept_name: string,
Express the following colloquial queries in relational algebra.
Consider the following database schema: EMPLOYEE (emp_name: string, address_street: string, address_city: string, phone_no: integer) DEPARTMENT (dept_name: string, mgr_name: string, mgr_start_date: date) WORKS_ON (emp_name: string, industry_name: string, salary: integer) INDUSTRY (industry_name: string, location_city: string) MANAGES (emp_name: string, mgr_name: string) Express the following colloquial queries in Relational Algebra: Find the names of all employees who work for 'Verizon Wireless'. Find the phone number of employee with the highest salary. Find the names and cities of residence of all employees who work for 'IBM' and earn more than $80,000 per year. Find the names of all employees who live in the same city and on the same street as their managers. Find the department name that every employee working in it lives in the 'Genius' street. Find the manager name with the earliest start time at department CISE. Find the phone number of all employees who are not managersStep 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