天天看點

oracle資料庫的基本操作(create建立表,update更新表,drop删除表,select查詢表,insert插入資料)

1、建立表空間:

  create tablespace neworcl

  datafile 'E:appsweetoradataorcl

eworcl.dbf' size 100M;

2、建立使用者

3、建立連接配接

資料組織:

  實體----表

  屬性----字段

建立表:(每一個字段之間用,分割!!!)

删除表:

DML資料庫操作語言

插入語句:資料庫中是單引号,不存在雙引号

查詢資料:

删除表中的全部資料:

建立表時添加主鍵限制:避免資料的重複加入,主鍵是唯一的

删除表:

update更新表: