Question
In this project, you will use a Database Management System to create and manipulate a very small database system for hospital Your task is to
In this project, you will use a Database Management System to create and manipulate a very small database system for hospital Your task is to improve it to some extent and implement the design as well as some queries against it. In this project, you will use any database server you want (Oracle, MySQL, etc.)
Project Description: You need to develop a management information system to help users at the administration level of the hospital easily viewing/tracking various information about doctors how many doctors in department well as information about patines , departments , department and doctors .
Other requirements are as follows.
-each departments has many doctors and each doctors work on one departments
- Each doctors manages one departments.
-Each doctors treats many patients. Each patients assigned in one or more departments and department assigned by many patients we keep track of admission date by assigned.
Implementation requirement: Considering the following queries, first finalize the schema (by adding required relations and/or changing the above relations) and then implement your relations. Next, populate your relations with appropriate data. Make sure each table in the database has enough number of tuples so that each query gets a meaningful and reasonable size output. For this, you should store at least 5department, 5 patients, 5 doctors for each department.
Finally, implement the following queries in SQL.
The queries are as follows.
What you should hand in: You should print and submit a report that includes
(1) The E/R model for your database design together with reasonable assumption(s) made,
(2) List of all schemas and their attributes with appropriate data type. Also, identify the primary key for each schema together with the relationship between different schemas.
(3) The print out of tuples in each table, the SQL queries and the output of your queries against your database.
Note: Every document related to your project must be printed and properly bounded together with the identification of your name and NU student ID printed on the cover page.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started