下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、密封 线专业班级姓名学号关系数据库(高级)01题号二三四五六七八总分评卷人分数一、填空题(每空2分,共20分)1. Once a user enters the data for his transaction, he can eithercommit the transaction to make the changes permanent or the transaction to undo the changes2. SQL consists of three components:Data Definition Language (DDL)Data Manipulation Langu
2、age (DML)3. By use of the SQL statement ALTER, delete the column Item_Size from the table ITEMCOPY.8. Create a synonym named ANOTHER_ITEM on the table ITEMCOPY.9. Insert the following record into the Franchise table:Franchise NoMF999Franchise NameMature Fashions (Shetlands)Franchise Address1, Lonely
3、 Spot, LerwickFranchisePostcode2E1 1AAFranchise Tel01595 1245Franchise Fax01595 2356FranchiseStart Date22nd January 200210. Update the above record and change the address to 1, Main Street,Lerwick and the Start Date 15th February 2002二、判断以下的说法是否正确,如果正确,将在括号中,填入T(TRUE),否 则,填入F(FALSE) o (每小题1分,本大题共10分
4、)1.SQL*Plus commands assist with querying2. There are several different character datatypes in oracle: The CHAR datatype stores character values with a fixed length The VARCHAR2 datatype stores variable-length characterstrings()3. The NULL value is one of the key features of the relational database
5、The NULL, in fact, doesn't represent any value at allit represents the lack of a value( )4. A view is an Oracle data structure constructed with a SQLstatement The SQL statement is stored in the database Every view contains data()5. An index is a data structure that speeds up access to particular
6、 rows in a database An index is associated with a particular table and contains the data from one or more columns in thetable.()6. The foreign key constraint is defined for a table (known as the child) that has a relationship with another table in the database (known as the parent) The value entered
7、 in a foreign key must be present in a unique or primary key of another specifictable.( )7. The ANSI standard Structured Query Language (SQL) provides basic functions for data manipulation, transaction control, and recordretrieval from the database, and most end users interact with Oracle through it
8、.()8. The HAVING clause works in conjunction with the GROUP BY clause.That is, you cannot have a HAVING clause without a GROUP BY clause()9. This SELECT statement will execute successfully SELECT forename, surname, MIN(Salary) FROMemployee;()10. This SELECT statement won' t execute successfully SELECT date_of_birth, COUNT(*)FROM employeeGROUP BY date.of.birthHAVING COUNT(*) >1;三、简答题(每小题3分,共30分)Candidate InstructionsY
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年乌海小型客运从业资格证理论考试题
- 吉首大学《国际贸易实务A》2021-2022学年第一学期期末试卷
- 《机械设计基础》-试卷9
- 吉林艺术学院《图案与装饰》2021-2022学年第一学期期末试卷
- 浙江省2023年中考数学一轮复习:数据分析初步 练习题
- 2024年公园铺砖工程合同范本
- 2024年大学生兼职保密协议书模板
- 吉林师范大学《西方音乐史与名作欣赏Ⅱ》2021-2022学年第一学期期末试卷
- 软件服务许可使用协议书范文范本
- 【初中数学】求代数式的值第1课时直接求代数式的值 2024-2025学年人教版七年级数学上册
- 2024浙江绍兴市人才发展集团第1批招聘4人(第1号)高频难、易错点500题模拟试题附带答案详解
- 幼儿园说课概述-课件
- 冠状动脉介入风险预测评分的临床应用
- 35导数在经济中的应用
- 苏科版(2024新版)七年级上册数学期中学情评估测试卷(含答案)
- 部编版《道德与法治》三年级上册第10课《父母多爱我》教学课件
- 大语言模型赋能自动化测试实践、挑战与展望-复旦大学(董震)
- 期中模拟检测(1-3单元)2024-2025学年度第一学期西师大版二年级数学
- 气管插管操作规范(完整版)
- 2024-2025学年外研版英语八年级上册期末作文范文
- 四级劳动关系协调员试题库含答案
评论
0/150
提交评论