Reference no: EM133351794
Databases For Business Analytics Assignment
Assignment 1 - The conceptual data model
Review the restaurant data from assignment 1.

1) Create a UML E-R diagram that includes the entities, attributes, and relationships.
2) Create a data dictionary for each table. Specify the table constraints, the attributes per table, the data type of each attribute, description for each attribute, and add any column constraints for the attributes.
You can use the following example as a template to build your data dictionary:

Assignment 2: The logical and physical data models
Review the restaurant data from assignments 1 and 2. Next, revise your data dictionary and ER UML diagram to ensure you have a three-table design that includes critic, rating, and restaurant entities. You will use the three-table design to create the logical and physical data models for your restaurants database.

Part 1
Create a logical model of the restaurants database. For this assignment, only create the Restaurant table and the Critic table. Next, we will create the Rating table in class.
Creating the two tables, requires you to use SQL to build your database and two tables. Provide the SQL code for your database and tables. Be sure to document your code to describe the different aspects of the SQL code clearly.
Part 2
Create the physical model of the restaurants database. This requires implementing the code from Part 1. To demonstrate that you successfully implemented the model, take a screenshot of your MySQLWorkBench that shows the Action Output window.
Part 3
Populate and query your database. Specifically, complete the following:
a) Show the data structure for each of the two tables using DESCRIBE. Then, take screenshots of the output of the Results Grid.
b) Insert the data (based on the original data in assignment 2) into your database tables. Include the SQL code used to populate those tables. Take screenshots of the Action Output to demonstrate your successful population of the tables.
c) Come up with two simple queries demonstrating your ability to interact with your database tables. Include the question each query answers, the SQL code itself, and screenshots of the Results Grid.