代码改变世界

随笔档案-2011年12月27日

多个表的数据如何一起insert??

2011-12-27 21:27 by 12月, 454 阅读, 收藏,
摘要: insert into test(a,b,c)select lastTable.* from (select (select count(*) from bus_article) as a1,(select count(*) from bus_articletype) as b1,(select count(*) from tab_menu) as c1 ) as lastTable/*=====================================================================test表机构:a int ,b int,c inttest2表机构:a 阅读全文