下载此文档

数据库系统实验课实验报告.doc


文档分类:IT计算机 | 页数:约10页 举报非法文档有奖
1/10
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/10 下载此文档
文档列表 文档介绍
-
. z.
"数据库系统"实验报告一
**
实验时间
实验名称
Oracle环境及数据库创立
实验学时
2
准备材料
1. Oracle 10G 介emester, year, grade都一样〕的信息,能否插入成功?解释原因。
-
. z.
参照表student建立一空表student1。要求用两种方法实现 (create table; create table as …)。
增加section表上的约束条件,要求所输入section的年号不大于当前年号+1,且不小于当前年号-2。插入一条2009年秋CS-101 开设课的信息,观察并解释实验结果。
选择*个约束,分别设置其有效、失效,观察区别。
出现问题
没有问题
解决方案
〔列出遇到的问题及其解决方法〕
"数据库系统"实验报告三
**
实验时间
实验名称
数据查询
实验学时
4
准备材料
1. SQL Plus命令手册
2. Oracle数据字典
扩展实验
1. 利用企业管理器的图形界面构造查询语句,并观察查询结果
2. 利用企业管理器完成视图、索引的创立与使用。
3. 利用DBMS进展对第三章习题所设计SQL语句的检查
(此局部容不要求在实验室完成,不用写入实验报告。)
实验环境
Oracle 9i(及以上版本)效劳器
SQL Plus/ SQL Plus work sheet客户端
实验目的
1.掌握使用SQL语句进展数据查询的方法
2. 掌握视图的创立与使用方法
3. 观察索引的使用效果
实验容及步骤
1. 执行文件ddl+,创立数据库University中所有表。执行文件 ,插入实验数据。
2. 使用University数据库的数据库构造和数据〔smallRelations即可〕,完成以下查询:
(1) Find the names of courses in puter science department which have 3 credits
(2) For the student with ID 12345 (or any other value), show all course_id and title of all courses registered for by the student.
-
. z.
(3) As above, but show the total number of credits for such courses (taken by that student). Don't display the tot_creds value from the student table, you should use SQL aggregation on courses taken by the student.
(4) As above, but display th

数据库系统实验课实验报告 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数10
  • 收藏数0 收藏
  • 顶次数0
  • 上传人hnxzy51
  • 文件大小93 KB
  • 时间2022-06-19