Question
Part I. Create a Hospital Room Assignment database using Microsoft SQL Server Transact-SQL queries. Apply the concepts of database systems that you have learned this
Part I. Create a Hospital Room Assignment database using Microsoft SQL Server Transact-SQL queries. Apply the concepts of database systems that you have learned this week. Be sure to include tables, fields, keys, relationships, and test data in your database.
Consider these system requirements in the design of your database:
A hospital stores data on patients and hospital rooms.
At A hospital stores data on patients and hospital rooms.
At a minimum, the patients name and date of birth should be stored.
Some patients are outpatients and not assigned to a hospital room.
Some patients are inpatient and assigned to a room. Rooms are identified by a room number. At a minimum, the room type of private or semi-private should be stored.
Part II. Submit a paper (3-6 pages) with headings and screenshots in this order:
The SQL queries you used to create your tables.
The design of your tables.
A diagram of your tables.
SQL queries selecting all data from all tables.
The data results from the queries showing the data from each table. An SQL query using a where clause. The data results from the query using a where clause. An SQL query using a join. The data results from the query using a join.
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