sql 更新字段

UPDATE Ypeople
SET power='0'
WHERE power='1';

 

 UPDATE Ypeople SET power='1' WHERE power='0' and pid='22'

posted @ 2014-12-27 11:17  fleam  阅读(525)  评论(0编辑  收藏  举报