如何将一个表中的两个字段内容合并 如何将一个表中的两个字段内容合并一个表中的两个字段a,b ,字段类型 mediumtext要实现下面的目的 A=A+B用下面的语句都不行,报错 如何才能实现 update a+b as a from table和 update 表1 set 字段1=CONCAT(表2.字段2, 表1.字段1); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update tableset a=concat(a,b)alter table tablenamedrop column b mysql> create table testtext(a text,b text);Query OK, 0 rows affected (0.12 sec)mysql> insert into testtext values('a','b');Query OK, 1 row affected (0.00 sec)mysql> update testtext set a = concat(a,b);Query OK, 1 row affected (0.00 sec)Rows matched: 1 Changed: 1 Warnings: 0 优化查询SQL mysql服务器调优请教 MySQL集群设置的问题 linux 下mysql 问题(急) MySql导出后,再导入数据时出错问题 关于mysql插入空值的处理 求mysql一查询语句问题,在线等 mysql 可不可以模糊查詢,類似sqlserver 的 like % 語句,該怎樣實現此功能? 求助——求一款免费的 比较好的mysql 监控工具 我有一个别人email给我的da.sql(mysql)文件,我要想在自己的机器上使用它,该怎么做? 请教高手一个SQL语句的问题 我的mysql版本是5.1.57.log,为什么没有innodb_status_file这个参数
set a=concat(a,b)alter table tablename
drop column b
mysql> create table testtext(a text,b text);
Query OK, 0 rows affected (0.12 sec)mysql> insert into testtext values('a','b');
Query OK, 1 row affected (0.00 sec)mysql> update testtext set a = concat(a,b);
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0