简体   繁体   中英

How to add the data in a existing column at a time

how can i add the data of 'phone' column at a time for a table structure illustrated as below:

在此处输入图像描述

UPDATE table_name
SET phone = phone_number
WHERE ID = associated_id

When you select the phone number you want to change, remember also to specify the associated ID, otherwise you will change every phone number in the table.

Hope this is what you were looking for!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM