Create a temporal database based on a human resources database

Create a Temporal Database based on a human resources database. It must have 3 dimension tables and 1 fact table.  Use this database code as foundation.

Create Database HumanResoruces1

GO

 

use HumanResoruces1

GO

 

CREATE TABLE [Department]

(

            [Department_ID] [int] NOT NULL,

            [Department_Name] [nchar](50) NULL,

            [Department_PhoneNumber] [nchar](25) NULL,

PRIMARY KEY  (Department_ID)

 );

 

CREATE TABLE [Employee]

(

            [Employee_ID] [int] NOT NULL,

            [Employee_FirstName] [nchar](50) NULL,

            [Employee_LastName] [nchar](50) NULL,

            [Employee_PositionID] [int] NOT NULL,

            [Employee_Phone_Number] [nchar](10) NULL,

            [Employee_SSN] [nchar] (9) NULL,

            [Department_ID] [int] NOT NULL

 PRIMARY KEY  (Employee_ID)

 FOREIGN KEY (Department_ID) REFERENCES Department(Department_ID), 

 );

 

CREATE TABLE [Employee_Job_Positions]

(

            [Employee_PositionID] [int] NOT NULL,

            [Job_Title] [nchar](50) NULL,

            [Department_ID] [int] NOT NULL

PRIMARY KEY (Employee_PositionID)

FOREIGN KEY (Department_ID) REFERENCES Department(Department_ID) 

);

 

 

 

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.