日期:2014-05-16  浏览次数:20707 次

mysql中怎么select into到一个新表中?
select   a.*   into   b   from   a     where   1 <> 1

这句在mysql中不能执行,错误是b是未定义变量?   在sqlserver中都可以啊

mysql中该如何将结果放到一张新表中,这张表是事先不存在的?   谢谢

------解决方案--------------------
create table b select * from a whre 1 <> 1;