DROP DATABASE IF EXISTS ProviderPatients;
CREATE DATABASE ProviderPatients;
USE ProviderPatients;
CREATE TABLE IF NOT EXISTS Date_Dim (
Date_ID integer not null,
Date_ date,
Full_Date_Des varchar(25) not null,
Day_Of_Week int(11) not null,
Calender_Year int(11) not null,
Weekday_Indicator int(11) not null,
primary key(Date_ID));
CREATE TABLE IF NOT EXISTS Insurer_DIM (
Insurer_ID int(11) not null,
Insurer_Name varchar(25) not null,
Line_Of_Buissness varchar(25) not null,
primary key(Insurer_ID));
CREATE TABLE IF NOT EXISTS Member_DIM (
Member_ID int(11) not null,
Member_Name varchar(25) not null,
Age int(11) not …
Run Code Online (Sandbox Code Playgroud)