Update Sql語句的寫法

有一次,我想更新一條記錄的幾個字段,將SQL寫成了下面的樣子。sql update table1 set column1 = 'value1' and column2 = 'value2' and column3 = 'value3' where id = 3; 個人本意,是想將表 table1 中 id = 3的這行,將column1, column2, column3改成新的值。code
相關文章
相關標籤/搜索