TNF Company has been using a file-oriented system to store data for decades
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

TNF Company has been using a file-oriented system to store data for decades

Question 2

TNF Company has been using a file-oriented system to store data for decades. In a recent review, the management found out that there are numerous errors in the stored data. Therefore, the management is now considering switching to a database system. You are tasked to review the existing system and recommend how to make the transition into a database system.

You start from reviewing the inventory file. The existing system stores all data in a single file with each of the following data elements as a single column:


Required:

1. Identify and describe an update anomaly, an insert anomaly, and a delete anomaly that would occur when the data is stored in a single file. For each anomaly, explain clearly the situation and list three data elements that would be affected by the anomaly.

2. Design a relational database that is free of anomalies. For each table in the relational database, indicate clearly the table name, the primary key of the table, the non-key attributes, and any foreign key from other tables.

Hint: you can introduce new data elements as unique identifiers for items in a table to be the primary key of the table.

3. Design queries to answer the following questions. For each query, indicate clearly the Table, Field, any necessary criteria, and any operations needed (e.g. SUM).

a. How many products in category A does the company have in stock?

b. How many units of products were returned to Supplier A last month (March 20X2)?

Hint
Accounts & FinanceDatabase: It is basically an organized collection of the structured information, or even the data. It, i.e. database, is also, in a computer system, typically stored electronically. Also, a database is controlled by a database management system i.e., DBMS usually....

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.