Develop a logical database model for the company

Assignment Help PL-SQL Programming
Reference no: EM13924821

The Case of ABC Electric:

ABC Electric wishes to create a database with the following entities and attributes:

· Customer, with attributes Customer_ID, Customer_Name, Customer_Address (Street, City, State, Zip code), Customer_Type (Business or Residential)

· Location, with attributes Location_ID, Location_Name, Location_County

· Rate, with attributes Rate_Class, Rate_Per_ kwh

After interviews with the company employees and its customers, you have come up with the following business rules:

· Locations are geographical areas such as cities, towns, etc.

· Customers can have one or more locations.

· Each location can have one or more rates, depending on the time of day.

Question 1 for the Case:

Please use either Access notation (i.e., one-1, many-∞) or ER modeling notation (i.e., one- , many- )(see slide 3.28) to develop a logical database model for the company. You also need to (1) create associative entities (with attributes) to simplify many-to-many relationships whenever necessary, and (2) use verbs to describe the relationships. Similar database model can be found in slide 7.12, which uses ER notation. The Draw function in Microsoft Word is preferred to illustrate the model.

Question 2 for the Case:

Write SQL statements to develop database tables for each of these entities in the model.

Reference no: EM13924821

Questions Cloud

Can concentration risks be reduced via cdos : Can concentration risks be reduced via CDOs? Please elaborate. Explain distressed debt. Why do institutions prefer to sell distressed debt?
Five functions of effective management : In 2012, Carl's Jr. reported a total revenue of $1.3 billion in sales (CKE, 2012). The QSR magazine (2010) ranks Carl's Jr. at number 23 in 2010, with its predominant sales being of burgers.
Process for producing synthetic diamonds : A new process for producing synthetic diamonds can be operated at a profitable level only if the average weight of the diamonds produced by the process is greater than 0.5 karat.
Positioning strategy for marketing the new product : Put yourself in the position of an entrepreneur who is developing a new product to introduce into the market. Briefly describe the product. Then develop the segmentation, targeting, and positioning strategy for marketing the new product.The overal..
Develop a logical database model for the company : Please use either Access notation (i.e., one-1, many-∞) or ER modeling notation (i.e., one- , many- )(see slide 3.28) to develop a logical database model for the company.
What are the major types of credit derivatives : What are the major types of credit derivatives? Is it necessary for a credit protection seller to have expertise in credit risk analysis? Please elaborate.
How did erasmus use humanism to shape christian ideas : How did Erasmus use humanism to shape Christian ideas? How did he use religious works to spread the ideas of humanism
What is trs and explain its advantages and disadvantages : What is TRS? Explain its advantages and disadvantages. Explain the difference between the credit option and the credit spread option.
American culture and expansion : Identify the innovator from 1815-1860 you feel had the most significant impact on American culture and expansion, including which innovation(s) and why.

Reviews

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