我有一个名为"emp"的表,其中包含以下数据:
id name status 1 x 0 2 y 1 3 z 0 4 p 1
如何编写查询以在单个查询中将状态0更改为1并将1更改为0?
mysql
mysql ×1