- 1、本文档共22页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Oracle9i-SQL-20 Oracle9i Extensions to DML and DDL Statements oracle9i-sql-I sql语言大全
Oracle9i Extensions to
DML and DDL Statements
20
Copyright © Oracle Corporation, 2001. All rights reserved.
Objectives
After completing this lesson, you should be able to
do the following:
• Describe the features of multitable inserts
• Use the following types of multitable inserts
– Unconditional INSERT
– Pivoting INSERT
– Conditional ALL INSERT
– Conditional FIRST INSERT
• Create and use external tables
• Name the index at the time of creating a primary
key constraint
20-2 Copyright © Oracle Corporation, 2001. All rights reserved.
Review of the INSERT Statement
• Add new rows to a table by using the INSERT
statement.
INSERT INTO table [(column [, column...])]
INSERT INTO table [(column [, column...])]
VALUES (value [, value...]);
VALUES (value [, value...]);
• Only one row is inserted at a time with this syntax.
INSERT INTO departments(department_id, department_name,
manager_id, location_id)
VALUES (70, Public Relations, 100, 1700);
1 row created.
20-3 Copyright © Oracle Corporation, 2001. All rights reserved.
Review of the UPDATE Statement
• Modify existing rows with the UPDATE statement.
UPDATE table
UPDATE table
SET column = value [, column = value, ...]
SET column = value [, column = value, ...]
[WHERE condition];
[WHERE condition];
• Update more than one row at a time, if required.
• Specific row or rows are modified if you specify
the WHERE clause.
UPDATE employees
SET department
您可能关注的文档
- MCP6V31T-EOT,MCP6V31UT-ELT,MCP6V31UT-EOT, 规格书,Datasheet 资料.pdf
- 2017年央财金融硕士考研参考书-育明斯泰朗考研.pdf
- Microsoft access书本作业.doc
- MIS SQL 新进人员考式题目 A1_TEST.doc
- 21 桃花源记 B.ppt
- 207级公共事业管理本科管理方法与技术课程试题B.doc
- 253_用频率估计概率.ppt
- 3.1.2 不等式的性质 课件(人教A版).ppt
- 311020040面向对象程序设计导论_双语_A闭_.pdf
- 3岁7-9个月宝宝爱看的书.doc
- 广东省深圳市龙岗区德琳学校初中部2022-2023学年七年级上学期期中考试英语试题(原卷版+解析).docx
- 广东省珠海市第四中学、立才学校、梅华中学2022-2023学年七年级上学期期中质量检测英语试题(原卷版+解析).docx
- 教科版2024-2025学年六年级科学上册第一单元第4课时《生物细胞》同步练习(含答案).docx
- 牛津沪教版七年级英语上册单元速记•巧练 Unit 7 【单元测试 · 提高卷】.docx
- 牛津沪教版七年级英语上册单元速记•巧练 Unit 5【单元测试 · 基础卷】.docx
- 广东省深圳市南山区太子湾学校2022-2023学年七年级上学期期中考试英语试题(原卷版+解析).docx
- 广东省深圳市南山第二外国语学校(集团)2022-2023学年七年级上学期期中考试英语试题(含听力)(原卷版+解析).docx
- 牛津沪教版七年级英语上册单元速记•巧练 2023-2024学年七年级上学期期末英语全真模拟卷(深圳适用02).docx
- 广东省阳江市江城区2022-2023学年七年级上学期期中考试英语试题(原卷版+解析).docx
- 广东省梅州市梅县区宪梓中学2022-2023学年七年级上学期期中英语试题(原卷版+解析).docx
文档评论(0)