Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Turn the attached ERD into Oracle database tables with foreign key relationships. You will insert records into your database tables and run queries against the

Turn the attached ERD into Oracle database tables with foreign key relationships. You will insert records into your database tables and run queries against the tables using Structured Query Language (SQL).

Using Oracle, practice writing and testing Data Definition Language (DDL) and Data Manipulation Language (DML) SQL statements. You may use Oracles SQL Plus, SQL Developer, or Oracle Data Modeler tools. Create tables to fulfill the requirements of the ERD below. Populate the newly created tables with three records of data and write database queries with the following requirements:

Scenario 2 Bute Electric - continued

A query (or queries) that lists all of the records in all of the tables.

A query that lists each customer by name with location addresses.

A query that lists the location type and the rates by time of day.

image text in transcribed

CUSTOMER Customer ID Customer Name Customer Address (Street, City, State, Zip Code) Customer Telephone Has Location Time of Day LOCATION RATE Location ID Customer tt Rate class (FK) Location Address Location ID (Street, City, State, Zip Rate Per KWH Code) Is Charged Location Type

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions