跳到主要内容

创建表

2024年06月12日
柏拉文
越努力,越幸运

一、认识


二、语法


2.1 create temporary table [temporaryName]

create temporary table [temporaryName] (
column1 datatype,
column2 datatype,
...
)

2.2 create temporary table [temporaryName] as select ……

create temporary table [temporaryName] as select column1,column2,…… from [tableName] where ……;