Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Assignment : Relational Data Model for Transaction Processing (OLTP)

One of the most important transactions for a business is a sale. Receiving payment in exchange for a good or service is the ultimate goal for almost every organization.

Consequently, businesses typically structure their transaction processing systems to efficiently track sales and the business assets and events that support them.

Let's take a look at an important business document for movie theaters that is created when a sale is made (a movie ticket) and see what business entities (events and assets) this ticket hints at by listing some of their attributes.

Directions:

Follow the instructions below, recording your answers in the provided Excel template file (on Blackboard).

Part A - Entities and Attributes

Extract as many attributes as you can from the example receipt pictured above and organize them into entities that would be stored in the movie theater chain's OLTP database.

1. Indicate the entities and their attributes in the provided Excel template with the entity name in the top (blue) row of each block, and attributes on subsequent (grey) rows of the block.

a. Entities should be named after the noun they describe (e.g. Theater) and include the following:

i. a primary key (e.g. TheaterKey)

ii. attributes shown on the receipt (e.g. Theater Name)

iii. other attributes not necessarily shown (e.g. Theater Address)

b. Record these entities and attributes in the Excel template provided

i. DO write down the generic entity or attribute

ii. Do NOT write down the example data shown on the receipt

iii. Example: DO list "Name" as an attribute of the "Theater" entity. Do NOT write down "Village Cinemas" as part of your answer

c. Housekeeping:

i. copy/paste blocks to create any additional entities needed

ii. Add extra grey rows to blocks if necessary to capture all the entities brainstormed

iii. Remove any left-over generic entities or attributes (including the . . . ) once you're done

2. Indicate the Primary Keys (PK) for each entity with the letters "PK" to the left of the attribute that will be acting as the key.

Part B - Relationships

3. List the relationships that exist between the entities. This can be done in the indicated "Part B" portion of the template spreadsheet.

a. Be sure to note their cardinality (one-to-one, one-to-many, many-to-many).

b. If you find a many-to-many relationship, try to think of another entity that can have a one- to-many relationship with each of the other two tables.

c. Example: Many movies are shown in many theaters. To relate the two, we create a ‘showing' entity, which relates to only one theater and one movie.

4. Indicate the Foreign Keys (FK) necessary to create the relationships between tables

Part C - Additional Amenities

Other ticket types and additional amenities are available to purchase as "Upcharges" that were not shown on this ticket (because the person who purchased it chose not to buy those amenities).

5. After reviewing the different ticket prices, upcharges, and specials above, fill out the table in the Excel template to map each item to an attribute, and indicate what entity that attribute best belongs to.

When choosing the appropriate entity, make sure the attribute is functionally dependent on that entity's primary key (you may find that more than one of the additional amenities can be assigned as a value to the same attribute).

BONUS for updating your entities with the new attributes (and relationships if necessary)

Attachment:- Relational Data Model .rar

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92715414
  • Price:- $50

Priced at Now at $50, Verified Solution

Have any Question?


Related Questions in DBMS

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

Sqlwrite a select statement that returns three columns from

SQL Write a SELECT statement that returns three columns from the Vendors table: VendorContactFName, VendorContactLName, and VendorName. Sort the result set by last name, then by first name.

You are in a real estate business renting apartments to

You are in a real estate business renting apartments to customers. Your job is to define an appropriate schema using SQL DDL in MySQL. The relations are Property(Id, Address, NumberOfUnits), Unit(ApartmentNumber, Propert ...

Question 1 unified communications system eg email

Question: 1. Unified Communications System (e.g., email, conferencing, and messaging) - The local area network is slower than needed, especially for newer, cloud-based applications. The email system needs refurbishment a ...

In sql developercreate a table userpermissions provide

IN SQL DEVELOPER Create a table UserPermissions (provide create and insert statements code) Document UserName Policy SYSTEM Menu JDOW W2 USAM Permissions SYSTEM W2 JDOW Form 1040 USAM Policy JDOW W2 SYSTEM Write a PL/SQL ...

Database design and development assignment -assessment task

Database Design and Development Assignment - Assessment task - 1. Normalization a) Map the ERD, from the sample solution, into a set of relations in at least Third Normal Form (3NF). You must ensure that your relations m ...

Students will select a situation or problem from their

Students will select a situation or problem from their company as a course project that can be solved using a database system. Using MS Access, or MS SQL Server Express, students will create a relational database model o ...

Need an expert in the fields of system design to handle

Need an expert in the fields of system design to handle this project This is a system analysis and design project, not a research project. Refer to the list of deliverables in the instructions in the assignment to make s ...

Select from e d pwhere edeptddept and dcitypcity and

Select * From E, D, P WHERE E.dept=D.dept AND D.city=P.city AND D.budget>1M AND P.priority=A; Assuming relations have the same size and uniform distributions, what is the best plan with Nested Loop joins only? Write it a ...

Project outline and requirements provide a brief

Project Outline and Requirements Provide a brief description of the organization (can be hypothetical) that will be used as the basis for the projects in the course. Include company size, location(s), and other pertinent ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As