下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 消防安全第一责任人制度
- 汽修厂消防安全制度
- 检验科设备试剂校准品管理制度
- 村庄保洁长效管护制度
- 易制毒危险化学品五双制度
- 2026年校园智能门禁系统协议
- 企业环境风险管理指南
- 城市绿化养护与管理工作指南
- 2025四川安和精密电子电器股份有限公司招聘助理工程师/技术员测试笔试历年难易错考点试卷带答案解析
- 2025四川内江市资中县弘耕农业发展集团有限责任公司人员招聘10人笔试参考题库附带答案详解
- KTV安全培训教育内容记录课件
- 2025至2030中国聚醚砜(PESU)行业发展趋势分析与未来投资战略咨询研究报告
- JJG 264-2025 谷物容重器检定规程
- 绘制竣工图合同协议
- 成人脑室外引流护理团体标准解读
- 酒店管理专业实习管理手册
- 2024年劳动保障监察和调解仲裁股年终总结
- 艺术院校合作办学方案
- 安徽省合肥市包河区2023-2024学年七年级下学期期中数学试卷
- 人教版九年级英语上册阅读理解10篇(含答案)
- GB/T 10561-2023钢中非金属夹杂物含量的测定标准评级图显微检验法
评论
0/150
提交评论