Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

explain how to do this question inrun sql command line (oracle database)Hospital DatabaseDoctor (Doc_ID, Doc_Name, Gender, DOB, Specialist, Qualification, Contact,Address, Dept_No)Department (Dept_No, Dept_Name, Room_No, Floor,

explain how to do this question inrun sql command line (oracle database)Hospital DatabaseDoctor

 (Doc_ID, Doc_Name, Gender, DOB, Specialist, Qualification, Contact,Address, Dept_No)Department (Dept_No, Dept_Name, Room_No, Floor, HOD, Estd_Date)Staff (Staff_ID, Staff_Name, Category(nurse, lab technician, cashier, security),Designation, DOB, Contact, Address, Dept_No)Patient (Pat_ID, Pat_Name, DOB, Gender, Contact, Address)In_Patient (Pat_ID, Date_Of_Admission, Bed_No, Start_Time, End_Time)In_Patient_Prescription(Pat_ID, Pres_ID)Appointment (App_ID, Pat_ID, Doc_ID, Nurse_ID, Consult_Room_No, Date,Time)Prescription (Pres_ID, App_ID, Date, Time, Diagnosis_Detail)Prescribed_Medicines (Pres_ID, Medicine_Name, Dosage, Brand)Hospital_Bill (Inv_No, Inv_Date, Pat_ID, Bill_Amount, Payment_Type(cash/credit card/debit card), discount)Lab_Tests (Test_ID, Pat_ID, Date, Time)Test_Results (Test_ID, TT_ID, Result)Test_Types (TT_ID, Description, Low_Value, High_Value, Test_Method,Technician)

Step by Step Solution

3.33 Rating (162 Votes )

There are 3 Steps involved in it

Step: 1

DDL statements ALTER CONSTRAINT etc 1 Modify Hospital Bill by adding an attribute consulting physician and add foreign key constraint for that attribute Use constraint name for foreign key constraint ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Basic Statistics

Authors: Charles Henry Brase, Corrinne Pellillo Brase

6th Edition

978-1133525097, 1133525091, 1111827028, 978-1133110316, 1133110312, 978-1111827021

More Books

Students also viewed these Mathematics questions

Question

How does a credit card differ from a debit card? Explain.

Answered: 1 week ago