LoginSignup
24
22

More than 5 years have passed since last update.

mysqlでカラムをコピー(update)

Posted at

こんな感じでできました^^

テーブル:AAA
コピー先のカラム:BBB
コピー元のカラム:CCC

UPDATE `テーブル` SET `コピー先のカラム` = `コピー元のカラム`

UPDATE `AAA` SET `BBB` = `CCC`
24
22
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
24
22