当前位置: 代码迷 >> SQL >> 惯用的SQL
  详细解决方案

惯用的SQL

热度:47   发布时间:2016-05-05 14:39:28.0
常用的SQL

单建表:

create table SEC_LOGIN_LOG_201203 as select * from SEC_LOGIN_LOG_201201 where 1=2

?根据某些列建表:

create table so1.h_ins_prod1 as (select t1.h_id,t2.* from so1.h_ins_prod t1,so1.ins_prod t2 where 1=2);

?

  相关解决方案