---创建用户并授权
create user LKY identified by 123;
grant create session to LKY ;
grant create user to LKY ;
---创建员工表
create table people(
snumber char(4) not null primary key,
sname varchar(10)not null, s
sex char(2) default '男' check (ssex in('男','女')),
sbirthday date,
sborn varchar(20),
ssalary int
);
select * from people;rename people to staff;
---修改表名
alter table staff rename column ssalary to 工资信息;
---修改表项名
select * from staff;
oracle创建用户,表以及相关基础操作

