Find the names and company names of all employees sorted in


Q. Consider the following relational schemas: EMPLOYEE (EMPLOYEE_NAME, STREET, CITY) WORKS (EMPLOYEE_NAME, COMPANYNAME, SALARY) COMPANY (COMPANY_NAME, CITY) Specify the table definitions in SQL.

Give an expression in SQL for each of queries below: (i) Find the names of all employees who work for first Bank Corporation.

(ii) Find the names and company names of all employees sorted in ascending order of company name and descending order of employee names of that company.

(iii) Change the city of First Bank Corporation to ‘New Delhi'

Solution Preview :

Prepared by a verified Expert
Database Management System: Find the names and company names of all employees sorted in
Reference No:- TGS01125780

Now Priced at $8 (50% Discount)

Recommended (98%)

Rated (4.3/5)