Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is a database for hospital management system there are 7 tables followed by their attributes in a parenthesis please create the tables in mysql

image text in transcribed

this is a database for hospital management system there are 7 tables followed by their attributes in a parenthesis please create the tables in mysql and show the primary key and foreign key relationship and show some examples by doing queries that table work

Patient(SSN, fullName, gender, dateofeirth, address, honeNumber emereenc ContactNumbeo Emergency Contact (SSN, fullname, phonenumber) Doctor DectorlD, fullname, SSN) RatientRecordISSN, addmissionDate, ReleaseDate, fees) PatientDiagnosis(SSN, diagnosislD, diagnosisName dateOfDiagnosis) PatientDruETreatment(SSN, diagnosisD, druBID, drugName) PatientSurgeries(SSN, surgery Name, surgerylD, beginDate, endDate, results

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

More Books

Students also viewed these Databases questions

Question

7. What decisions would you make as the city manager?

Answered: 1 week ago

Question

8. How would you explain your decisions to the city council?

Answered: 1 week ago