Describe how you might redesign the database

Assignment Help PL-SQL Programming
Reference no: EM133369463

Databases For Business Analytics Assignment

Assignment

Use the Michelin one-star rated restaurant data set from Kaggle. Download the one-star- michelin-restaurants.csv file. Please open the file in Excel and examine it. Then complete the following and provide answers for each step.

Step 1. Format the columns to ensure it has the fields required for the Restaurant table. Be sure to pay attention to those fields that are NOT NULL. You have two choices:

Choice A: Add data for those fields per record. Choice B: Alter the table to eliminate the column constraint. If you selected CHOICE A: Include a screenshot of the formatted Excel document to show the data added.

Here is an example of how to modify a column constraint on an existing table:

Step 2. Use Excel to omit any records for restaurants not in New York City (You can do this by filtering the data).

Save the file in Excel as a .csv file with utf-8 encoding. This file you save will likely need to be converted from a utf-8 with BOM encoding to utf-8. You use a text editor like BBEdit (on Mac) or Notebook++ (on PC). Use either of these programs to save it in a utf-8 only encoding.

Step 3. Use BBEdit or Notepad++ to modify the restaurant names that include unknown characters. For example, Le Grill de Jo*l Robuchon should be renamed to Le Grill de Joel Robuchon. At least 5 or so places where this data needs to be edited.
Include a screenshot of your formatted restaurant names.

Step 4. Insert the records into the Restaurant table using the Table Data Import Wizard in MySQLWork- Bench. Write a query to show the new records in the Restaurant table. Include the SQL query and the output as a screenshot.

Step 5. Write a query to show the restaurant count by cuisine type. Include the SQL query and the output as a screenshot.

Step 6. Describe how you might redesign the database to accommodate different star ratings, such as 1-5 stars versus Michelin stars.

Attachment:- one-star-michelin-restaurants.rar

Reference no: EM133369463

Questions Cloud

What led to the fall of absolute monarchies in england : What led to the fall of absolute monarchies in England? Think about how the events leading up to the Glorious Revolution challenged the power of absolute
What could have been some alternatives to this decision : Which amendment from the Bill of Rights does this case relate to and why? (It might be more than one amendment) What factors led up to the case?
Stress response do to human body : What does activation of the stress response do to the human body in the short - term versus long - term
What are some examples of symbolic interaction : What are some examples of symbolic Interaction? How do we interact using symbols? How does it positively or negatively affect us?
Describe how you might redesign the database : Write a query to show the restaurant count by cuisine type. Include the SQL query and the output as a screenshot - Describe how you might redesign the database
Maquiladoras negatively impacting mexican communities : How are maquiladoras negatively impacting Mexican communities?
Primarily white neighborhoods : Why do you think police officers are more likely to conduct drug raids in low-income, black neighborhoods than in wealthier, primarily white neighborhoods?
Describe what the office is and does why it is important : Describe what the office is and does. Why it is important not just to the state, but how it could affect you and your community. What powers does it have?
What colors do you see in this scene : What colors do you see in this scene? Where are you? Are you in a room or are you not in a room? What kind of place are you in?

Reviews

len3369463

3/23/2023 10:46:02 PM

Please open the file in Excel and examine it. Then complete the following and provide answers for each step.

Write a Review

PL-SQL Programming Questions & Answers

  Write an sql statement to delete the nantucket record

Write an SQL statement to delete the Nantucket record. Write the SQL necessary to recreate the ocean table in the same way it was create for question 1 but add the constraint that PercentOfSurface must be Between 0 and 100.

  How do you insert a row in a table in sql

What is SQL? How do you create a table in SQL? How do you insert a row in a table in SQL? How do you get data from a table in SQL?

  Write a xquery which returns all concert titles

Write a XQuery which returns all concert titles whose type is chamber orchestra where average ticket price is at least $50.

  Ilab sql queries using mysql

The purpose of this iLab is to prepare for the first phase of the Course Project. This week, you will learn to create and run SQL SELECT queries from a script  in the MySQL database. You will need to create a database in MySQL via Omnymbus, run a ..

  Create the tables for the project

drop the tables you are creating (in case they've already been created within the schema I'm using).

  Write sql query that return the purchase agents names

write SQL query that return the purchase agent's name(s) who placed a purchase order (mutual commitment) of the inventory type Big stuff.

  Sql statement to display student first and last name

1. Write a SQL statement to display Student's First and Last Name.  2. Write a SQL statement to display the Major of the STUDENT with no duplications. Do not display student names. 3. Write a SQL statement to display the First and Last Name of studen..

  Define exception handlers in programming

Add exception handlers for errors that you can and cannot anticipate. Test the block by running it with various values of the host variable.

  Find the most classes taken by students

Find the students by student ID who have taken the most class (counted by enrolled students) and not counting where an ‘F' was the grade - Find the facility by facility id who teach math class.

  Commands that you would use to create a 7x7 matrix

Show the unix/linux commands that you would use to create a 7x7 matrix of alternating entries of 1's and 0's. It should look like this

  Script that creates and calls a stored

Write a script that creates and calls a stored procedure named spInsertProduct that inserts a row into the Products table. This stored procedure should accept five parameters

  Create and test a database in mysql using phpmyadmin

Create and test a database in MySQL using PhpMyAdmin. You are provided with a scenario and supporting documents, describing the requirements that Southern Cross

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd