Create the physical data model

Create the physical data model

  

· Create the physical data model for the logical data model that you submitted in IP3. This should include all of the data definition language SQL.
 

Your submission should include all DDL needed to:
 

Create the tables
Create the primary keys
Create the foreign keys
Add DML statements to:
Add data of 1 customer who buys from the company
Provide the DML to add 1 employee who interacts with customers
Give DML to change data of the employee, giving the commission a 25% increase
Give DML to delete the customer and employee data
Write 3 SELECT statements:
To select the customer details
To select the employees details
To show which employee services which customer
 

Submit your Word document and make sure that it contains the following:
 

Screenshot of the ERD, logical data model from previous assignments.
The DDL to create the tables, including the table definition and the primary and foreign key definitions.
SQL to add data to the tables
Add data of 1 customer who buys from the company
Provide the DML to add 1 employee who interacts with customers
Give DML to change data of the employee, giving the commission a 25% increase
Give DML to delete the customer and employee data
Write 3 SELECT statements:
To select the customer details
To select the employees details
To show which employee services which customer

 

Create the physical data model

ad:  Delta 8 online | THC Online | Buy hemp online | THC Carts | Delta 8 Carts | THCO Carts | HQD Vape | Fume Vape | Fume Extra | Fume Unlimited | HQD Cuvie | HQD Cuvie plus | zero Nic Disposable Vapes | Fume Infinity | Fume Ultra | FoodGod | Supreme Vape 

  

· Create the physical data model for the logical data model that you submitted in IP3. This should include all of the data definition language SQL.
 

Your submission should include all DDL needed to:
 

Create the tables
Create the primary keys
Create the foreign keys
Add DML statements to:
Add data of 1 customer who buys from the company
Provide the DML to add 1 employee who interacts with customers
Give DML to change data of the employee, giving the commission a 25% increase
Give DML to delete the customer and employee data
Write 3 SELECT statements:
To select the customer details
To select the employees details
To show which employee services which customer
 

Submit your Word document and make sure that it contains the following:
 

Screenshot of the ERD, logical data model from previous assignments.
The DDL to create the tables, including the table definition and the primary and foreign key definitions.
SQL to add data to the tables
Add data of 1 customer who buys from the company
Provide the DML to add 1 employee who interacts with customers
Give DML to change data of the employee, giving the commission a 25% increase
Give DML to delete the customer and employee data
Write 3 SELECT statements:
To select the customer details
To select the employees details
To show which employee services which customer

 

Leave a Comment

Your email address will not be published. Required fields are marked *