uid | name |salary| deptno|
| | | |
1 | mani |5000 | 10 |
2 |nani |6000 | 20 |
3 |phani |7000 | 30 |
答案 0 :(得分:1)
您正在描述UPDATE
UPDATE table
SET name = 'new name', salary = 1000, deptno = 50
WHERE uid = 2
但我不太清楚为什么要重用uid。