Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Step 1: Identify the dimensions [first three only} from each table: You'll notice in bed_type there are only three variables, bed_id, bed_code, and bed_desc. Naturally

image text in transcribed
Step 1: Identify the dimensions [first three only} from each table: You'll notice in bed_type there are only three variables, bed_id, bed_code, and bed_desc. Naturally just list these three as the dimensions, there are no other variables to select. It's ok to include the primary key (PK) as a dimension. For business, pay attention to the differences between afoct and a dimension variable as we discussed in class. In this table there are only three dimensions to select. See if you can correctly identify which ones they are {again the PK can be counted as one dimension}. Step 2: Identify the Facts [rst three only) from the single fact table. Consider what type of variable would be afact vs. a dimension and select three of those from the bed_fact table. Be aware, it is likely that some variables in a fact table are dimensions, for example a foreign key or anything of that sort is a dimension even if it's listed in the fact table. Step 3: Sketch out a Star Schema Include both the data tables of interest and the appropriate joins between the tables that can be used to answer the questions. Use MySQL to draw the star schema. Be sure to label the fact table and dimension tables accordingly (you can always add a text box above the tables if you need to] Step 4: Implement the schema as a database Name it "Hospital DB\" in MySQL

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

Project Management A Managerial Approach

Authors: Jack R. Meredith, Samuel J. Mantel,

7th Edition

470226218, 978-0470226216

More Books

Students also viewed these General Management questions

Question

(12) What gaps are there in the current approach to development?

Answered: 1 week ago