Question: A Company called Wetu decided to computerize its employee data. The company has four departments ( Management , Marketing, Accounting and Purchasing ) , each
A Company called Wetu decided to computerize its employee data. The company has four departments Management Marketing, Accounting and Purchasing each headed by a boss. One of the tables called EMPLOYEE is as given below:
You are required to give:
An SQL statement that creates the database called Wetu
An SQL statement that creates the above table Employee
An SQL statement for adding the first five records into the table
Retrieve all columns, all rows from the table
An SQL query that shows the average salary for employees
An SQL query that displays the following columns: PFNO, EName and DName
An SQL query that gives the number of employees that reports to Boss
Report the details of employees grouped by department and sorted by personal file number
An SQL query that displays all staff with salaries between and
Due to improved economy, employee salaries have been increased by Write an SQL statement to effect the changetablePFNOE Name,E Salary,D Mame,BossAlice,Nanagement,Ned,Narketing,Andrew,Narketing,Clare,Accounting,Todd,Accounting,Karival,Marketing,Robert,Purchasing,Sarah,Purchasing,Sophie,Personnel,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
