mysql中两个表的合并问题 本帖最后由 mengoi321 于 2010-07-08 17:58:17 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 试试:insert into A (pid,fid,tid,first,subject,message,author) select pid,fid,tid,first,subject,message,author from B; 不好意思,好像反了insert into B (pid,fid,tid,first,subject,message,author) select pid,fid,tid,first,subject,message,author from A; 如二楼这样,把字段名列即可。insert into b (pid,fid,tid,first,subject,message,author) select pid,fid,tid,first,subject,message,author from a; (在线等)数据默认时间和时间戳如何比较? 有关postgresql,有没有::的函数集 key_buffer_size对分区表无效? MySQL 下 的SQL查询语句 where字句怎么写才高效啊? 在mysql下怎么查看charcsets都支持那些字体 java中执行mysql中备份命令(mysqldump)的问题. php+mysql如何快速输出结果 mysql非安装版启动时是报1067错误 mysql字符集 mysql定时器,存储过程如何跨库全量,然后增量更新数据表 关于一个MySQL触发器的问题 mysql怎么取当天的记录数
insert into A (pid,fid,tid,first,subject,message,author) select pid,fid,tid,first,subject,message,author from B;
insert into B (pid,fid,tid,first,subject,message,author) select pid,fid,tid,first,subject,message,author from A;
select pid,fid,tid,first,subject,message,author from a;