oracle——创建数据表

创建数据表;

 create table 表名 ( 列明1 数据类型1 [约束性条件],
                     列明1 数据类型1 [约束性条件],
                    
                     ……

                    ) tablespace 表空间



create table student05 ( student_id number not null,
                         student_name varchar2(20),
                         student_age number,
                         status varchar2(2),
                         version number default 0
                       ) tablespace test

select * from student05;

 

posted @ 2020-02-03 21:42  小白龙白龙马  阅读(169)  评论(0编辑  收藏  举报