高分紧急求助!对于熟悉oracle的朋友来说应该是小菜一碟啦!!
Scenario
The Leith Emeare Geriatric Homes provides serviced apartments for elderly citizens at its mulit-story complex in Central Tasmania. Leith Emeare also operates the Knott Wheel Clinic and In-Care Unit where its residents can receive high quality health care without having to leave their building for treatment. Knott Wheel has both a clinic where residents can see a clinician (either a Doctor or a Nurse) and receive treatment, and a In-Care Unit for residence who need hospital-like care. The Knott Wheel Clinic and In-Care Unit has a number of doctors and nurses who can provide treatment both at the Clinic and in the In-Care Unit.
The In-Care Unit has four specialist areas, each located on a different floor of the centre. Each specialist area has several well-equipped rooms.
The Knott Wheel Clinic and In-Care Unit has had an Oracle database developed using some test data, but the developer has left leaving only minimal documentation. You have been asked to take over the database, and to provide facilities so that user queries can be answered.
Task Description
The Knott Wheel Clinic and In-Care Unit regrets that the previous developer failed to complete the database implementation as originally planned, and even more, the failure to document what little work was actually carried out. The only documentation that exists is the following E-R diagram, plus the table definitions and test data contained in the SQL script file Ass2Setup.sql.

The Knott Wheel Clinic and In-Care Unit regards it as essential that all further work done on the database be documented in a formal business report prepared in accordance with normal professional business practice.
The report is to have a one page Introduction that identifies what has been achieved, and what (if anything) remains to be done. Each specific requirement (or question) is to be documented on a fresh page, and should have the question number as the major heading, with sub-headings for (1) the SQL script, (2) the query results, and (3) comments which describe what your script does.
Each question is to be constructed through an SQL script with the following typical structure (this is in fact a model answer to requirement 1):

The file question.sql (and also Ass2Setup.sql) can be downloaded from the Assessment page on the unit’s MyLO site. Both files should be stored on the same drive, and in the same directory, as should your answer scripts to each question. It (question.sql) must be run at the start of each question answer (and provided with the appropriate question number) in order to identify you as the user, plus the date/time and location of your test run, plus identify which requirement you are attempting to meet. Your output for each question should be spooled to a file (here assumed to be on ‘D: drive’, but you can use whatever drive you wish). The content of these spool files should be listed as part of your report. The execution of the question.sql script results in the following typical introduction to each spool file:

The company is aware that some of the requests might prove difficult, and accordingly asks that if you encounter a problem, that you provide scripts that are partial solutions, on the basis that something is better than nothing. It does ask, however, that your report’s Introduction highlight any such problems.
---------------------------------------未完待续------------------------------------------
The Leith Emeare Geriatric Homes provides serviced apartments for elderly citizens at its mulit-story complex in Central Tasmania. Leith Emeare also operates the Knott Wheel Clinic and In-Care Unit where its residents can receive high quality health care without having to leave their building for treatment. Knott Wheel has both a clinic where residents can see a clinician (either a Doctor or a Nurse) and receive treatment, and a In-Care Unit for residence who need hospital-like care. The Knott Wheel Clinic and In-Care Unit has a number of doctors and nurses who can provide treatment both at the Clinic and in the In-Care Unit.
The In-Care Unit has four specialist areas, each located on a different floor of the centre. Each specialist area has several well-equipped rooms.
The Knott Wheel Clinic and In-Care Unit has had an Oracle database developed using some test data, but the developer has left leaving only minimal documentation. You have been asked to take over the database, and to provide facilities so that user queries can be answered.
Task Description
The Knott Wheel Clinic and In-Care Unit regrets that the previous developer failed to complete the database implementation as originally planned, and even more, the failure to document what little work was actually carried out. The only documentation that exists is the following E-R diagram, plus the table definitions and test data contained in the SQL script file Ass2Setup.sql.
The Knott Wheel Clinic and In-Care Unit regards it as essential that all further work done on the database be documented in a formal business report prepared in accordance with normal professional business practice.
The report is to have a one page Introduction that identifies what has been achieved, and what (if anything) remains to be done. Each specific requirement (or question) is to be documented on a fresh page, and should have the question number as the major heading, with sub-headings for (1) the SQL script, (2) the query results, and (3) comments which describe what your script does.
Each question is to be constructed through an SQL script with the following typical structure (this is in fact a model answer to requirement 1):
The file question.sql (and also Ass2Setup.sql) can be downloaded from the Assessment page on the unit’s MyLO site. Both files should be stored on the same drive, and in the same directory, as should your answer scripts to each question. It (question.sql) must be run at the start of each question answer (and provided with the appropriate question number) in order to identify you as the user, plus the date/time and location of your test run, plus identify which requirement you are attempting to meet. Your output for each question should be spooled to a file (here assumed to be on ‘D: drive’, but you can use whatever drive you wish). The content of these spool files should be listed as part of your report. The execution of the question.sql script results in the following typical introduction to each spool file:
The company is aware that some of the requests might prove difficult, and accordingly asks that if you encounter a problem, that you provide scripts that are partial solutions, on the basis that something is better than nothing. It does ask, however, that your report’s Introduction highlight any such problems.
---------------------------------------未完待续------------------------------------------
...全文
相关推荐
Oracle-Linux紧急事件
Linux系统作为Oracle数据库的底层平台,其稳定性也至关重要。在处理Linux紧急事件时,系统管理员需要掌握以下技能:1.
oracle数据库系统紧急故障处理方法
此外,了解和熟悉Oracle的管理工具,如SQL*Plus、RMAN(恢复管理器),以及如何阅读和分析错误日志,对于快速定位和解决问题至关重要。
oracle紧急故障处理方法
Oracle数据库系统在运行过程中可能会遇到各种紧急故障,包括数据文件、日志文件和控制文件的损坏。处理这些故障需要对Oracle的物理结构有深入理解,并能采取正确的应急措施。
Oracle数据库系统紧急故障处理方法
Oracle数据库系统紧急故障处理方法Oracle数据库系统紧急故障处理方法是指在数据库系统出现紧急故障时,通过一定的处理步骤和方法来恢复数据库系统的正常运行。
Oracle数据库系统紧急故障处理方法.txt
### Oracle数据库系统紧急故障处理方法#### 一、Oracle数据库物理结构故障概述Oracle数据库物理结构故障是指由数据库构成的各个物理文件损坏所导致的一系列数据库故障。


基础和管理
