oracle学习
最近新加入一个项目组,需要使用到oracle数据库,因此花了一段时间把数据库的知识复习了一下,在此总结记录一下oracle数据库的用法。
一、SQL基础
1.1 数据定义语言(DDL)
DDL主要包括数据库对象的创建(create)、删除(drop)和修改(alter)的操作。
1.使用create语句创建表
create table table_name
(
column_name datatype [null|not null],
column_name datatype [null|not null],
...
[constraint]
)
例:
create t...
Read more