标签: sql database oracle oracle9i
我想做这样的事情:
create table NEW_TABLE (select * from OLD_TABLE where id=3582)
并从该select语句的结果列创建一个新表。
我打赌它可能在mySQL中,但如何在Oracle中完成?
答案 0 :(得分:9)
试试这个:
CREATE TABLE new_table AS select * from OLD_TABLE where id=3582