DOC PREVIEW
SJSU CMPE 226 - Project partial report

This preview shows page 1 out of 3 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Project #1Hospital DatabaseProject #1 ReportPROJECT # 1HOSPITAL DATABASEDATABASE SYSTEMSPREPARED BYXXYYYE-mail Address0Project #1 ReportProject #1HOSPITAL DATABASE INPUT DATABASEhospital(id, x, y)This relation contains the addresses of the various hospitals in the Lincoln area. There arefive hospitals with IDs 1 through 5.zip(id, x, y)This relation contains the various zip codes and their area within the Lincoln area. Thereare seven zip codes with IDs 1 through 7.pat_add(id, x, y)This relation contains the addresses of the patients admitted in any one of the hospitals inthe Lincoln area. There are 30 patients.pat_info(id, age, place)This relation contains the age of the patients in the Lincoln area.doc_add(id, x, y)This relation contains the addresses of the doctors working in the hospitals in the Lincolnarea. There are 15 doctors.doc_info(id, age, spec, hosp)This relation contains the doctor’s age, his specialty and the hospital where he works. Thespecialties are as follows:1Cardiology2Urology3Gynaecology4Neurology5Radiology6Paediatrics7ENTtemperature(id, x, y)This relation gives the temperature y of a patient id at any given time x in minutes. x canhave values 0 through 1440, and y can have values 90 through 105.low_bp(id, x, y)This relation gives the low blood pressure y of a patient id at any given time x in minutes.x can have values 0 through 1440, and y can have values 50 through 110.1Project #1 Reporthigh_bp(id, x, y)This relation gives the high blood pressure y of a patient id at any given time x inminutes. x can have values 0 through 1440, and y can have values 90 through 160.treat(docid, patid)This relation contains the information as to which doctor treats which patient.SQL QUERIESFollowing are the queries that we have executed successfully.Iconic:For each iconic query provide the following:The iconic query Such as:INTERSECT: Find the address of those doctors who are also patients.Describe the process The output relationSample of basic queryBasic:1. Find the age of the patient whose id is 3.Click [Qs], click SQL – Basic.Enter the following the respective fields.Actual query!Output?Continue with the rest of the answers!!!


View Full Document

SJSU CMPE 226 - Project partial report

Documents in this Course
SQL-99

SQL-99

71 pages

XML

XML

52 pages

XML

XML

14 pages

Chapter 9

Chapter 9

45 pages

Load more
Download Project partial report
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Project partial report and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Project partial report 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?