Show the restaurant name and rating

Assignment Help PL-SQL Programming
Reference no: EM133365108

Databases For Business Analytics Assignment

Populating and altering the tables

Part 1
After creating the Restaurants database with three tables, finish populating the Rating table with data.

• Include your SQL code for populating the table.
• Then, query the table to show all records. Take a screenshot of the result set and include it in your assignment.

Part 2
Alter your Restaurants table to include the street address, city, state, zip code, and status. Be sure to update your E-R UML diagram AND your data dictionary. Google to find the restaurant information and update each record. If the restaurant is still open, set the status to open. If it has closed down, set the status to closed. Include your SQL code and issue a query to show all records. Include a screenshot of the results set.

Part 3
• Create a view that shows just the restaurant name and average rating for open restaurants. Include your SQL code and issue a query to show all records. Include a screenshot of the results set.
• Join your Restaurant and Rating tables to show the restaurant name and rating. Include your SQL code and include a screenshot of the results set.

Reference no: EM133365108

Questions Cloud

What are benefits from collaboration : What are benefits from collaboration? The Teamwork video file identifies five stages of teamwork. Which is NOT one of the five stages?
What are your thoughts on gastrodiplomacy programs : What are your thoughts on Gastrodiplomacy programs? If you had to choose a food/meal to introduce your culture to someone else, what would you choose and why?
How communism and socialism differ : How Communism and Socialism Differ: Bothsocialismandcommunismare essentially economic philosophies advocating public rather than private ownership
Analyzing phillis wheatley faith as expressed : Analyzing Phillis Wheatley's faith as expressed in "A Hymn to the Evening" and "On Being Brought from Africa to America." Write as fully as time permits.
Show the restaurant name and rating : Databases For Business Analytics Assignment - Create a view that shows just the restaurant name and average rating for open restaurants. Include your SQL code
List three strengths in an essay in content, organization : List three strengths in an essay in content, organization, and/or development Let America be America again. List three aspects of the essay
Milestones vertically and project members horizontally : Some organizations use a chart that lists project tasks and milestones vertically and project members horizontally.
Provide an in-text or parenthetical citation psychologist : Write one sentence that paraphrases part of this sentence from Lauren Migliore's article, and provide an in-text or parenthetical citation: "Psychologist
What did it lead to and how did anger help bring that about : Thinking of Gay's quote above, tell me about a time you can think of when anger led to creation or advancement rather than the bad kind of destruction.

Reviews

len3365108

3/19/2023 11:33:21 PM

Use the provided file for table creation/data sources, for part 2, please google the restaurant info and insert or leave it blank for me to input. Make sure the ER UML diagram in place

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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