- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
数据库系统概论ch3课件
Chapter 3: SQL Chapter 3: SQL Data Definition Basic Query Structure Set Operations Aggregate Functions Null Values Nested Subqueries Complex Queries Views Modification of the Database Joined Relations** History IBM Sequel language developed as part of System R project at the IBM San Jose Research Laboratory Renamed Structured Query Language (SQL) ANSI and ISO standard SQL: SQL-86 SQL-89 SQL-92 SQL:1999 (language name became Y2K compliant!) SQL:2003 Commercial systems offer most, if not all, SQL-92 features, plus varying feature sets from later standards and special proprietary features. Not all examples here may work on your particular system. Data Definition Language The schema for each relation. The domain of values associated with each attribute. Integrity constraints The set of indices to be maintained for each relations. Security and authorization information for each relation. The physical storage structure of each relation on disk. Domain Types in SQL char(n). Fixed length character string, with user-specified length n. varchar(n). Variable length character strings, with user-specified maximum length n. int. Integer (a finite subset of the integers that is machine-dependent). smallint. Small integer (a machine-dependent subset of the integer domain type). numeric(p,d). Fixed point number, with user-specified precision of p digits, with n digits to the right of decimal point. real, double precision. Floating point and double-precision floating point numbers, with machine-dependent precision. float(n). Floating point number, with user-specified precision of at least n digits. More are covered in Chapter 4. Create Table Construct An SQL relation is defined using the create table command: create table r (A1 D1, A2 D2, ..., An Dn, (integrity-constraint1), ..., (integrity-constraintk)) r is the name of the relation each Ai is an attribute name in the schema of relation r Di is the data type of values in the domain of attribute Ai Example
您可能关注的文档
- 商法案例简答课件.ppt
- 商英学院本科毕业论文学士学位论文2011课件.ppt
- 商法说课PPT课件.ppt
- 数字信号处理 第一章习题课件.ppt
- 商品流通概论第四章商品流通业务课件.ppt
- 数字信号处理 第三讲_时域频域表示课件.ppt
- 商品混凝土培训课件.ppt
- 商场活动方案策划课件.ppt
- 商铺经营状况调查课件.ppt
- 四,六级口语考试课件.ppt
- 2023年度华为认证题库试题带答案详解(预热题).docx
- 2023年度华为认证通关题库含答案详解.docx
- 2023年度华为认证自我提分评估及完整答案详解(必刷).docx
- 2023年度华为认证试卷附参考答案详解【培优A卷】.docx
- 2023年度华为认证考前冲刺试卷附完整答案详解【历年真题】.docx
- 2023年度华为认证过关检测试卷带答案详解(能力提升).docx
- 2023年度华为认证高频难、易错点题及答案详解(基础+提升).docx
- 2023年度华为认证考前冲刺试卷含答案详解(突破训练).docx
- 2023年度国家电网招聘考试考试综合练习附完整答案详解【历年真题】.docx
- 2023年度国家电网招聘考试题库试题及参考答案详解(B卷).docx
文档评论(0)