The document outlines a series of SQL assignment tasks focused on querying employee data, including displaying current dates, calculating salary increases, formatting employee names, and filtering results based on specific criteria. It includes tasks such as showing employee details, job listings, and department information, as well as manipulating string data and dates. The assignments require various SQL functions and commands to extract and format the desired information from a database.
The document outlines a series of SQL assignment tasks focused on querying employee data, including displaying current dates, calculating salary increases, formatting employee names, and filtering results based on specific criteria. It includes tasks such as showing employee details, job listings, and department information, as well as manipulating string data and dates. The assignments require various SQL functions and commands to extract and format the desired information from a database.
2. Display the employee number, employee name, salary and salary increased by 15% expressed as a whole number. Label the column as "new Salary". 3. Modify the previous query that will subtract the old salary from new salary with a new column name as increase. 3A. Modify the previous to show the employees where increase is more than 200. 4. Write a query that will display all employee name in lower case and the length of their name. 5. Display the employee name, hire date and the day of the week on which the employee started. 6. Display the employee name concatenated with their job for all employees 7.Display employee name, hiredate, date of next Friday after hiredate, six months before and after hiredate 7.A. Display the employee name and hire date for all employees. The hire date appears as 17th November 1981. 8.Display the employee name with initial letter of name in uppercase in department number 10 and salary less than 1600. 8A. Same query without using initcap. 9. Write a query to display the employee name, department number and department name for all employees. 10. Create a unique listing of all jobs that are in department name is ACCOUNTING 11. Write a query to display the employee name, department name and location for all employees who earns a commission. 12. Display the employee name and department name who have an A in their name. 13. Write a query to display the name, job, department number and department name for all employees who work in DALLAS. 14. Write a query to display King's employee number, department number, job and location. 15. Trim the character 'S' from employees whose name start with 'S'.