在sql server以及类似数据库中,可以使用select * into a from b where xxx来自动建立select出来的字段组成的表。在oracle中则使用如下格式可以建立
create table a as select * from b where xxxx
这样可以自动把表b select的数据自动变成表a
| 广告合作:400-664-0084 全国热线:400-664-0084 Copyright 2010 - 2017 www.my8848.com 珠峰网 粤ICP备15066211号 珠峰网 版权所有 All Rights Reserved
|