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; 存储过程死活不能执行SELECT @str REGEXP '^[0-9]*$' 这段存储过程哪里有问题呀? mysql 外键关联 求postgresql的一个命令 mysql是否可以一次执行多条命令 请问一下大家在mysql中存放guid的时候用什么类型呢?并说明理由。谢谢 连接不到异地mysql服务器 ? 拜托,高手们,如何打开加密的DB文件,密码忘了,谢谢 请问在数据库中查出日期为最新的两条记录的Sql语句应该怎样来写? 我新装的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;