Question

In: Computer Science

View 2 Seneca Courses Inc. Product Spreadsheet All the course books are maintained on the following...

View 2

Seneca Courses Inc.

Product Spreadsheet

All the course books are maintained on the following Product spreadsheet. SCI is currently having difficulty searching for books written by the same author, and would like the new database system to list each author separately. There can be one or many authors for each book, but there is no limit to the number of authors of a book.

PROD

ID

TITLE

EDITION

Purchase Cost

Retail Price

AUTHOR

100860

DATABASE SYSTEMS: DESIGN AND IMPLEMENTATION

THIRD EDITION

$84.98

$99.98

CARLOS CORONEL,

PETER ROB

100861

DATABASE SYSTEMS: DESIGN AND IMPLEMENTATION

FOURTH EDITION

$92.82

$109.20

CARLOS CORONEL,

PETER ROB

100871

MODERN RETAILING

FOURTH EDITION

$88.36

$110.45

DANIEL CASTON,

JENNY TAPSCOTT

100890

UNDERSTANDING MICROSOFT ACCESS

NINTH EDITION

$65.52

$72.80

PIERRE LEBLAND,

ROBERT COBB

102130

ORACLE: INTRODUCTION TO PL/SQL

$53.24

$59.15

PHILIP ROBB

200376

ORACLE: ADVANCED PL/SQL DEVELOPMENT

$64.26

$71.40

PHILIP ROBB,

DAN CHEN

Business Rules:

1. PURCHASE COST the default value is 0.

2. RETAIL PRICE must always have a value.

Normalize the above user view. Document all steps including UNF, 1NF, Dependencies, 2NF, and 3NF and explain or list the primary key and foreign

Solutions

Expert Solution

To convert to 1NF, the rules are:

1. Every column should have single value, eg: author will store one author's name not two author's name.
2. There should be a column with unique id for each row. eg: ID column is added and it contains 1, 2, 3, ... all values should be unique for each row.

To convert to 2NF, the rules are:

1. Database should be in 1NF.
2. Tables should not have any Partial Dependency, i.e. all columns must depend on primary key A + B. If a column C depends only on B or A then it is known as Partial Dependence.
eg: ProdID is unique and give any value from the table, but Title + Edition can also give any details, but the column Author is only dependent on Title and the prices are dependent on both title and edition. Since author is dependent only on one column of composite key so it is partial dependence.

To convert to 3NF, the rules are:

1. Database should be in 2NF
2. Tables should not have any Transitive Dependency, i.e. all columns in the table should be dependent on primary key suppose A + B. If a column C depends on another column D which is not primay key, this is known as Transitive Dependency.

Final Tables after converting to 3NF:

BOOK:

BookID   TITLE   EDITION   PurchaseCost   RetailPrice
AUTHOR:

AuthorID   AUTHOR
BookAuthor:

BookID   AuthorID
Bold letters are primary key of those tables.

Please contact me if you have any queries.

Thank you :)


Related Solutions

View 3 Seneca Courses Inc. Employee Forms All employee information for SCI is maintained on file...
View 3 Seneca Courses Inc. Employee Forms All employee information for SCI is maintained on file forms. The following are sample employee information forms: EMP_ID 7839 EMP_ID 7654 EMP_NAME JOHN CHIU EMP_NAME ANDRE MARTIN SOC_INS 123-234-345 SOC_INS 678-345-123 POSITION MANAGER POSITION SALES SUPERVISOR SUPERVISOR JOHN CHIU HIREDATE November 13, 1999 HIREDATE September 24, 1999 EMP_ID 7434 EMP_ID 7435 EMP_NAME PARVEZ RAI EMP_NAME DANIEL CHOY SOC_INS 234-123-432 SOC_INS 345-312-234 POSITION SALES POSITION CLERK SUPERVISOR JOHN CHIU SUPERVISOR HIREDATE June 24, 1980...
A student has 5 math books, 2 history books, and 4 biology books. She puts all...
A student has 5 math books, 2 history books, and 4 biology books. She puts all the books on the shelf in a random order. What is the probability that: (a) The math books are together? (b) The books are arranged by subject? (i.e., all books on the same subject are together).
Assignment Option #2: Government Transactions Complete all work on the Option 2 Spreadsheet (linked at the...
Assignment Option #2: Government Transactions Complete all work on the Option 2 Spreadsheet (linked at the bottom of the page) to this assignment; it will be your only deliverable. Using the data in the attached spreadsheet, perform the accounting required for each of the following government fund transactions: Perform the required journal entries Requirements: Clearly identify the requirements being addressed. Show all calculations within the cells of an Excel spreadsheet. This means that you must use formulas and links so...
Transaction 2: Purchase of Land View all the transactions, and do all the accounting, from the...
Transaction 2: Purchase of Land View all the transactions, and do all the accounting, from the perspective of the business – not from the viewpoint of the proprietor/owner. The business purchases land for an office location, paying cash of $20,000. This transaction effects the accounting effect the accounting equation of Smart Touch Learning as follows:            Assets + Liabilities           + Owner’s Equity Cash Land Sheena Bright, Capital (1)30,000 = ?     ? +        ? Bal 10,000     20,000 ? ?...
Journalize the following transactions on the books of a private college. All of the transactions are...
Journalize the following transactions on the books of a private college. All of the transactions are for the year 2015 (Provide a brief explanation for each journal entry) (a) The College received $300,000 in funds that were pledged in 2014, half will be used for unrestricted purposes in 2015. The rest cannot be spent until 2016. (b) The College was awarded $750,000 in grants that are to be used for restricted research purposes. $510,000 in cash was received, and $620,000...
Record the following transactions on the books of Cussler College, a private college. All of the...
Record the following transactions on the books of Cussler College, a private college. All of the transactions are for the year 2019. The College received $450,000 in funds that were pledged in 2019, to be used for unrestricted purposes in 2020. The College was awarded $900,000 in grants that are to be used for restricted research purposes. $600,000 in cash was received, and $580,000 was expended on these projects. On Dec. 1, the College received a pledge of $2,300,000 to...
Record the following transactions on the books of Benjamin College, a private college. All of the...
Record the following transactions on the books of Benjamin College, a private college. All of the transactions are for the year 2018. (a) The College received $450,000 in funds that were pledged in 2017, to be used for unrestricted purposes in 2018. (b) The College was awarded $900,000 in grants that are to be used for restricted research purposes. $600,000 in cash was received, and $580,000 was expended on these projects. (c) On Dec. 1, the College received a pledge...
Course Project Option 2 is to complete the following budgeting assignment: Stillwater Video Company, Inc. produces...
Course Project Option 2 is to complete the following budgeting assignment: Stillwater Video Company, Inc. produces and markets two popular video games, High Range and Star Boundary. The closing account balances on the company's balance sheet for the last year are as follows: Cash, $18,735; Accounts Receivable, $19,900; Materials Inventory, $18,510; Work in Process Inventory, $24,680; Finished Goods Inventory, $21,940; Prepaid Expenses, $3,420; Plant and Equipment, $262,800; Accumulated Depreciation-Plant and Equipment, $55,845; Other Assets, $9,480; Accounts Payable, $52,640; Mortgage Payable,...
Look up all of the books from the list below and write a 2 sentence description...
Look up all of the books from the list below and write a 2 sentence description about each one. Why do you think each book has been important throughout history? The Meaning of Relativity by by Albert Einstein On the Origin of Species by Charles Darwin Geographia by Ptolemy Silent Spring by Rachel Carson The Complete Works of William Shakespeare By William Shakespeare The Canterbury Tales by Geoffrey Chaucer Uncle Tom's Cabin by Harriett Beecher Stow
The following accounts appear in the ledger of Super Inc. after the books are closed at...
The following accounts appear in the ledger of Super Inc. after the books are closed at December 31, 2019 Common Stock, $1 par value, 800,000 shares authorized, 450,000 shares Issued $450,000 Paid-in-Capital in Excess of Par Value-Common Stock 750,000 Preferred Stock, $100 par value, 8%, 10,000 shares authorized; 400 shares issued 350,000 Retained Earnings 250,000 Treasury Stock (10,000 common shares) 30,000 Paid-in Capital in Excess of Par Value-Preferred Stock Note: Income statement for 2019 is $170,000. Dividends paid $25,000 Instructions:...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT