Question: 1. Write the SQL query for the given condition below. [5 marks] Table Name: Employee Castomer Name Contact Nam Salary City Dept Desg Customer! D
1. Write the SQL query for the given condition below. [5 marks] Table Name: Employee Castomer Name Contact Nam Salary City Dept Desg Customer! D 1 2 3 4 5 Pink Rose Yellow Green Red Applc Orange Mango Pineapple Banana 700 900 1000 600 750 Sohar Muscat Buraimi Burimi Nizwa Marketing Admin Production Safety R&D Manager HR Technician Security Lab Assistant a. to display the all the details where the salary is less than or equal to 700. Answer: b. to display the only the customerid, dept and desg details for the employee who belongs to Buraimi. Answer: c. to update the value of the salary by 100 for the employees whose salary is less than 700. Answer: d. to find the maximum salary. Answer: e. to drop a column named city
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
