create table testemp(
id varchar2(50) default sys_guid(),
deptno varchar2(20) ,--部门编码
ename varchar2(20),--人名
sal number(10)--工资 )
----表名描述
comment on table testemp is '测试专用表';
----字段备注
comment on column testemp.deptno is '部门编码';
comment on column testemp.ename is '人名';
comment on column testemp.sal is '工资';
本文介绍了一个用于测试的数据库表的创建过程,包括字段定义及注释说明。表名为testemp,包含id、deptno(部门编码)、ename(人名)和sal(工资)等字段。
1833

被折叠的 条评论
为什么被折叠?



