Here is the structure of my database named employee
mysql> desc employee;
+-------------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+---------------+------+-----+---------+-------+
| emp_code | int(11) | NO | PRI | NULL | |
| emp_name | varchar(25) | YES | | NULL | |
| designation | varchar(25) | YES | | NULL | |
| department | varchar(25) | YES | | NULL | |
| basic | decimal(10,2) | YES | | NULL | |
| DA | decimal(10,2) | YES | | NULL | |
| gross_pay | decimal(10,2) | YES | | NULL | |
+-------------+---------------+------+-----+---------+-------+
My question is, how can I update DA with value 1500 for rows with designation manager
and update DA with value 2000 for all other employees.