对于Oracle还不熟悉,想问问大家如何在Oracle中创建临时表?
select a.a1,b.b2 from a,b where a.id=b.id
我就是想把select出来的东西创建成一个临时表,改如何写?
请教请教 最好写详细点,我还是菜鸟 呵呵
select a.a1,b.b2 from a,b where a.id=b.id
我就是想把select出来的东西创建成一个临时表,改如何写?
请教请教 最好写详细点,我还是菜鸟 呵呵
解决方案 »
- 求注:关于ORA-12514报错问题
- 在线等,关于对表的监控的问题
- 酷似多表查询问题,求sql文
- Oracle超级用户密码丢失,我用baidu已找到解决方法,不过还是不知哪能个步骤没对
- 在UNIX下怎么创建数据库,有没有windows版本下oracle的创建数据库的工具dbca
- oracle administration assistant for windows nt数据库的进程信息?
- 大家来看看怎么解决这个问题
- oracle 11g 安装后,客户端无法连接问题。
- 高手看看OLEDB问题!!!
- oracle报ORA-00942:表或视图不存在
- oracle =ALL的问题
- oracle 创建用户问题
as
select a.a1,b.b2 from a,b where a.id=b.id
on commit delete rows;
select a.a1,b.b2 from a,b where a.id=b.id
1,建表存储select数据
create table a_select
as
select a.a1,b.b2 from a,b where a.id=b.id
on commit delete rows;
2,如果是查询的话,而且不需要对查询出来的数据进行处理的话,建议用视图来放数据:
create or replace view view_a as
select a.a1,b.b2 from a,b where a.id=b.id
as
select a.a1,b.b2 from a,b where a.id=b.id
on commit delete rows;