现在有表
tablea
(
cola int ,
colb varchar(20)
)
要把tablea中满足条件(cola <100)的记录生成新的表tableb。
在ms sqlserver 可以直接用select into语法:
select * into tableb
where cola < 100
在oracle中语法如下:
create table tableb_tmp
as
(
select * from tablea
    where cola <100
)

相关文章:

  • 2021-09-20
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2021-11-11
  • 2021-07-29
猜你喜欢
  • 2021-10-06
  • 2021-12-11
  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
  • 2022-01-08
  • 2021-11-13
相关资源
相似解决方案