In SQL, How to add values after add a new column in the existing table?

前端 未结 7 1446
臣服心动
臣服心动 2021-02-14 13:34

I created a table and inserted 3 rows. Then I added a new column using alter. How can I add values to the column without using any null values?

7条回答
  •  借酒劲吻你
    2021-02-14 13:49

    suppose emp is the table and Comm is the new column then fire the below query .

    update emp set Comm=5000 
    

提交回复
热议问题