卢雨杰12.3
create tablespace itlb
datafile 'c:\itlb.dbf'
size 100m
autoextend on next 10m
itlb 为表空间名称 datafile 指定表空间对应的数据文件(物理结构) size 表空间的初始大小 autoextend on 自动增长 ,当表空间存储都占满时,自动增长 next 一次自动增长的大小
创建用户
create user itlbuser
identified by itlb
default tablespace itlb
[ACCOUNT LOCK|UNLOCK]
在一个查询的内部还包括另一个查询,则此查询称为子查询。Sql的任何位置都可以加入子查询。
子查询在操作中有三类:
单列子查询:返回的结果是一列的一个内容
单行子查询:返回多个列,有可能是一个完整的记录
多行子查询:返回多条记录
近期评论