SQL UPDATE Questions
1. Update the salary of employee with employee_id = 10 to 50000.
2. Change the department of employee with employee_id = 25 to department_id = 3.
3. Increase the salary of all employees in department_id = 2 by 10%.
4. Set the email of employee with employee_id = 15 to '[email protected]'.
5. Modify the job_title of employee with employee_id = 8 to 'Senior Developer'.
6. Reduce the bonus of employees in department_id = 4 by 5%.
7. Update the phone number of employee with employee_id = 30 to '9876543210'.
8. Change the work location of all employees in department_id = 5 to 'Remote'.
9. Increase the annual leave days of employees with role = 'Manager' by 3 days.
10. Update the joining_date of employee with employee_id = 22 to '2023-01-15'.
11. Modify the supervisor_id of employee with employee_id = 40 to 5.
12. Change the employment_status of employees in department_id = 6 to 'Active'.
13. Update the contract_type of employee with employee_id = 35 to 'Permanent'.
14. Increase the project_bonus of employees in IT department by 2000.
15. Set the probation_period of new hires (hired after 2024-01-01) to 6 months.
16. Change the designation of employee with employee_id = 12 to 'Team Lead'.
17. Update the shift_timing of all employees in customer support to '9 AM - 6 PM'.
18. Modify the certification_status of employee with employee_id = 50 to 'Certified'.
19. Set the resignation_date of employee with employee_id = 27 to '2024-12-31'.
20. Increase the stock_options for employees with more than 5 years experience by 50%.
21. Change the appraisal_rating of employee with employee_id = 17 to 4.5.
22. Update the transport_facility for employees in department_id = 7 to 'Available'.
23. Modify the remote_work_status of employee with employee_id = 29 to 'Approved'.
24. Set the retirement_age of all employees in HR to 60 years.
25. Increase the performance_bonus of top 10% employees by 15%.
26. Change the reporting_manager of employee with employee_id = 14 to 9.
27. Update the work_experience of employee with employee_id = 38 to 7 years.
28. Modify the payroll_type of all part-time employees to 'Hourly'.
29. Set the maternity_leave_days for female employees to 90 days.
30. Increase the housing_allowance of employees in Sales department by 10%.