Draw an entity-relationship diagram of the identified table

Assignment Help PL-SQL Programming
Reference no: EM132771592

Question 1

Draw an Entity Relationship Diagram (ERD) for the following case study:

Management Book Association (MBA) is engaged in a wide range of publishing, marketing and distribution activities in Singapore. These are in the areas of educational textbooks, children's books, general and trade books, academic and scholarly publications, reference materials and some electronic publications. MBA also collaborates with the local university's professors to conduct industry seminars and workshops for professionals.

MBA wishes to produce course books on the various seminars and workshops that it now conducts. The books are written by professors who specialises in one particular subject. Two or more professors may specialise in a particular subject. MBA employs professional editors who may not be a specialist in a particular area. Each editor may edit one or more books at a time. A professor may write more than one book at a time. When writing a particular book, the professor works with one editor. If the professor is working on a second book at the same time, he has to work with another editor on the second book.

Question 2

This question has TWO (2) parts, part A relates to normalization and part B relates to SQL.

Kaplin Art is a digital art shop focused on buying the best of computer art and design. Kaplin Art is developing a new website to sell their arts. The website will list all the artists and their arts. Customers can buy from Kaplin Art and later sells it back to Kaplin Art, who then will relist them on their webstore for other interested customers. Kaplin Art do not allow customer to sell to other customer on their website. One of the requirements of the new webstore is to maintain a list of their customers and what they have purchased. Figure 2 show the report layout.

2175_Customer Purchase History Report.jpg

Figure 2. Customer Purchase History Report

Part A: (Please clearly state all assumptions and ensure that you have sufficient annotations).

Please complete the following FOUR (4) parts:

i) Based on Figure 2, write down the unnormalized form.

ii) Identify the repeating group of attributes and transform part (i) into tables that are in 1st Normal form. (Explain the rationale for your decision).

iii) Identify any partial dependencies in part (ii) and transform into tables that are in 2nd Normal Form. (Explain the rationale for your decision).

iv) Identify any transitive dependencies in part (iii) and transform into tables that are in 3rd Normal Form. (Explain the rationale for your decision).

Part B: (Please clearly state all assumptions and ensure that you have included the screen capture for each part - marks will be deducted if you do not provide evidence of execution)

Using any dialect of SQL, please complete the following SEVEN (7) parts:

i) Draw an entity-relationship diagram of the identified tables in Part A.

ii) Using the CREATE TABLE in any dialect of SQL, show the corresponding SQL tables. Indicate the primary key, foreign keys, column names, constraints etc.

iii) Insert (at least) 10 sample rows for each identified table.

iv) List the names and phone numbers of all customers who have a credit limit > $10,000 in alphabetical order.

v) Find the average purchase price of all the purchases for a particular customer.
vi) List all the items with a price above the average price for a particular customer.

vii) List the customer and art title that has been sold at least 2 times.

Attachment:- case study.rar

Reference no: EM132771592

Questions Cloud

Prepare operating activities section of statement of cash : Prepare operating activities section of the statement of cash flows using the direct method. Jetty has no depreciable assets. Accounts payable pertains
How much knowledge you have about your new venture : Starting your own business can be very risky, depending upon how much knowledge you have about your new venture.
What will be the average cost per hour for a inc : What will be the average cost per hour if 8,000 machine hours of activity will be incurred? A, Inc., uses the high-low method to analyze cost behavior.
Calculate return on equity : Calculate return on equity for 2017. Assume there were no changes in the Common Shares and Preferred Shares accounts during the year
Draw an entity-relationship diagram of the identified table : Draw an entity-relationship diagram of the identified tables in Part A and List the names and phone numbers of all customers who have a credit limit > $10,000
How much profit on average will macdonald make on each eagle : How much profit, on average, will MacDonald make on each Eagle? MacDonald Manufacturing Ltd is a well-known manufacturer of high tech products.
What is the total cost of the building : The entity began the self construction of a building on january 1 2020 and the building was completed on december 31 2020. What is total cost of the building
Globalization affected different world regions : How has globalization affected different world regions? What are some of the benefits and costs of globalization for different sectors of society?
Make a t- account and trial balance : Make a T- account, trial balance, and balance sheet for the transaction. Borrowed $45 000 from the bank, which was deposited in the business' bank account.

Reviews

len2771592

1/22/2021 1:14:30 AM

Could you kindly confirm the payment amount pls in Singapore dollars

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