2017-09-19から1日間の記事一覧
MySQLで既存のカラムに文字列を結合したい場合は、CONCATを使います。 select concat(column1, column2, column3, column4) from table; 更新時 update users set name = concat(name, "追加したい文字列") where id = 1; 他のカラムと結合させる update use…
MySQLで既存のカラムに文字列を結合したい場合は、CONCATを使います。 select concat(column1, column2, column3, column4) from table; 更新時 update users set name = concat(name, "追加したい文字列") where id = 1; 他のカラムと結合させる update use…