The chapter 3 described the star schema that is used to make the data mart. The dimensional tables are created before the fact table. The construction of the dimension tables is based on the values in the campus crime dataset. The data definition language (DML) scripts used for the creation of the dimension tables are given below.
Crime type dimension table
The following is the script to create the crime type dimension table.