1、update tablename set column1='value',column2='value' where condition

          2、update tablename set(column1,column2)=(select column1,column2 from tablename where condition) where condition


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          posts - 15, comments - 15, trackbacks - 0, articles - 2

          Copyright © 冰江獨行

          主站蜘蛛池模板: 察哈| 宜良县| 界首市| 鹿邑县| 宁河县| 那曲县| 静乐县| 临桂县| 工布江达县| 凤冈县| 巴南区| 博罗县| 陆川县| 定安县| 元朗区| 阿拉善右旗| 灌南县| 牙克石市| 桐城市| 高雄县| 芦山县| 遂平县| 民丰县| 和田县| 苏州市| 吴旗县| 桦甸市| 柳江县| 时尚| 宁远县| 洛川县| 柳河县| 政和县| 凯里市| 桃园市| 饶阳县| 正定县| 伊吾县| 固原市| 石渠县| 融水|