Home / Expert Answers / Computer Science / consider-the-following-relational-schema-write-sql-statement-for-the-followi-pa594

(Solved): Consider the following relational schema: Write SQL statement for the followi ...



Consider the following relational schema:
Write SQL statement for the following queries:
a) Display Employee names of Adminis???????

Consider the following relational schema: Write SQL statement for the following queries: a) Display Employee names of Administration department ordered by their salary. b) Write a DML statement that will update the salary for employees in the administration department by ten percent. Ex. if salary was 30000 it will be 33000,40000 will be 440000,50000 will be 55000 and so on. c) Display Department Number, Department Name, and Number of Employees for all departments which have average salary greater than 40000 . d) Display Department Number, Department Name, and Number of Employees for all departments which have average salary greater than administration department average salary. e) Display Department Number, Department Name, and Number of Employees for the departments which have the largest number of employees. f) Display Employees getting more salary than their supervisor. g) Display Name of employee(s) who earn maximum salary in their organization. Submission Submit a report which includes the solution for the above exercise including the query and the SQL Data result


We have an Answer from Expert

View Expert Answer

Expert Answer


a) select name from Emp e join Dept d on e.dept_code = d.dept_cd where dept_name = "Administr
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe