oracle中如何把结果集插入临时表中


比如临时表叫temp,你要查询的语句为select * from 表名 where id=1。

1.建表temp

2.插入语句:

1 insert into temp select * from 表名 where id=1; 2 commit;

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM