Question

In: Computer Science

Barnes & Noble is an American bookseller. It operates mainly through its Barnes & Noble Booksellers...

Barnes & Noble is an American bookseller. It operates mainly through its Barnes & Noble Booksellers chain of bookstores. The company wants to keep information on books, authors, publishers, branches, and employees. The following requirements are given:

  1. For each publisher, store the publisher code, the name, and the city in which the publisher is located.

  2. For each branch, store the number, the name, the location, the manager number, and the manager name.

  3. For each book, store its code, title, the code and name of the publisher, the price, and whether or not it is paperback.

  4. For each book, store its code, title, type, and price. In addition, store the number and name of each of the authors of the book. If there is more than one author, they must be stored in the order in which they are listed on the book. This may or may not be alphabetically.

  5. For each branch, store the number and name. In addition, store the code and title of each book currently in the branch as well as the number of units of the book the branch currently has.

  6. For each book, store the code and title. In addition, for each branch currently having the book in stock, store the number and name of each branch along with the number of copies available.

  7. For each employee, store the employee number, the name, the address, phone number, position title, and the branch number and name which this employee works for. It further confirms that an employee works only for one branch and a branch has many employees.

You, as the database consultant, are required to provide an information-level design to maintain for the above-mentioned requirements.

Solutions

Expert Solution

Here is your Database Diagram with explanantion given below - 

Requirement 1 is fulfilled with PUBLISHER Table.

Requirement 2 is fulfilled with BRANCH Table and the Manager information will be available through Manager ID which is Foreign key and it is linked with Primary key of EMPLOYEE Table.

Requirement 3 is fulfilled with BOOK Table and it Publisher information is available through Pub_ID which is Foreign Key in BOOK Table and Primary Key in PUBLISHER Table.

Requirement 4 is fulfilled with the help of BOOK, BOOK_AUTHOR and AUTHOR Table. These tables are linked with Book_ID which is Foreign Key in BOOK_AUTHOR and Primary Key in BOOK Table. Same as Author_ID which is Foreign Key in BOOK_AUTHOR and Primary Key in AUTHOR Table. BOOK and AUTHOR has many to many relation so multiple Book can be written by one or many Authors.

Requirement 5 and 6 is fulfilled with BRANCH, BOOK and BOOK_IN_BRANCH Table. These tables also linked with Primary Key and Foreign Key relation via Book_ID and Branch_ID.

Requirement 7 is fulfilled with EMPLOYEE Table and BRANCH Table. Employee and its Manager’s information is provided in EMPLOYEE Table while where there working Branch will be available through Branch_ID Foreign and Primary Key relation.

Note :- The arrow color is explained below with same color. The tail of a arrow is depended on the value of head of the arrow. I hope I explained it clearly and breifly. If there is anything which is left or you didn't understand then let me know, may be I can help you with it.

 If you are happy with my response then please give positive feedback. Thanks

Related Solutions

Suppose selected comparative statement data for the giant bookseller Barnes & Noble are presented here. All...
Suppose selected comparative statement data for the giant bookseller Barnes & Noble are presented here. All balance sheet data are as of the end of the fiscal year (in millions). 2020 2019 Net sales $4,800 $5,600 Cost of goods sold 3,888 3,637 Net income 77 147 Accounts receivable 88 109 Inventory 1,314 1,239 Total assets 2,830 3,170 Total common stockholders’ equity 994 980 Compute the following ratios for 2020. (Round asset turnover to 2 decimal places, e.g. 1.67. Round all...
Selected hypothetical comparative statement data for the giant bookseller Barnes & Noble are presented here. All...
Selected hypothetical comparative statement data for the giant bookseller Barnes & Noble are presented here. All balance sheet data are as of the end of the fiscal year (in millions). 2022 2021 Net sales $5,350.6 $5,700.8 Cost of goods sold 3,400.4 3,600.5 Net income 75.2 140.4 Accounts receivable 75.1 100.0 Inventory 1,150.0 1,250.0 Total assets 2,850.0 3,150.0 Total common stockholders’ equity 890.1 1,070.2 Compute the following ratios for 2022. (Round asset turnover to 2 decimal places, e.g 1.83 and all...
Barnes & Noble Inc. reported the following financial information for its last fiscal year (all numbers...
Barnes & Noble Inc. reported the following financial information for its last fiscal year (all numbers in thousands): Revenues $6,839,005 Inventory $1,410,769 A/P $1,374,434 A/R $149,369 AAI 105.21 days APP 100.86 days ACP 8.52 days For the upcoming fiscal year B&N management has set a goal for the company to reduce the average age of inventory to 90 days. What would the impact be on the CCC? The CCC will decrease by 25.14 days The CCC will decrease by 15.21...
There is a specific requirement that web page merchants (Amazon, Barnes and Noble, Apple Store) must...
There is a specific requirement that web page merchants (Amazon, Barnes and Noble, Apple Store) must follow in order to incorporate the terms of their contract in order to have those terms enforceable (part of the contract). What does the web page seller have to do in order to incorporate the terms of the agreement? Give an example with a link to a web page that follows this procedure. What do you think would happen if the merchant did not...
Barnes and Noble has a total debt-equity ratio of 40 percent, sales of $800,000, a net...
Barnes and Noble has a total debt-equity ratio of 40 percent, sales of $800,000, a net profit margin of 7.5 percent, and total debt of $240,000. Calculate the firm’s ROE. If the firm increases its debt-equity ratio will the ROE increase or decrease? (Hint: think about the Dupont Identity.)    10.00 percent, increase    10.00 percent, decrease    38.99 percent, increase    38.99 percent, decrease    5.67 percent, increase   
Financial analysis for Barnes & Noble including, liquidity, profitability and solvency ratios, cash flow problems, inventory...
Financial analysis for Barnes & Noble including, liquidity, profitability and solvency ratios, cash flow problems, inventory problems and ratios, debt obligation problems, including debt/equity ratios, stock valuation
DOT Foods, Inc.,together with its subsidiaries, operates as a food company worldwide. It operates through four...
DOT Foods, Inc.,together with its subsidiaries, operates as a food company worldwide. It operates through four segments: Beef, Pork, Chicken, and Prepared Foods. DOT forecasts that its net income will be $12 million this year. The company has no depreciation expense so its net cash flow is $12 million, and its target capital structure consists of 70 percent equity and 30 percent debt. Tyson’s capital budget is $10 million.   Required: a)      If   the company   follows   a   residual   distribution   policy   (with   all...
Watson Co. is a specialty fabrics manufacturer and retailer who operates mainly in the Carolinas. A...
Watson Co. is a specialty fabrics manufacturer and retailer who operates mainly in the Carolinas. A partial trial balance showing Watson’s equity, revenue and expense balances as of its December 31, 2019 year-end follows:     Debits              Credits Dividends                                                                     $   321,960 Retained earnings (1/1/19)                                                                     $   859,265 Unrealized holding loss – ECM bonds (1/1/19)                      53,710 Interest revenue                                                                                         17,805 Sales revenue                                                                                        9,147,540 Advertising expense                                                           116,385 Cost of goods sold                                ...
Humans are adding heat, mainly through the use of fossil fuels and nuclear power, to the...
Humans are adding heat, mainly through the use of fossil fuels and nuclear power, to the current Earth energy balance between incoming and outgoing energy. Is the added heat upsetting the balance and therefore causing Earth to warm up? Why or why not?
through a mechanistic analysis of the electrophilic aromatic substitution of acetamidobenzene, explain why this compound mainly...
through a mechanistic analysis of the electrophilic aromatic substitution of acetamidobenzene, explain why this compound mainly substitutes mainly para. Suggest a reason why the reaction rate of acetamidobenzene with electophiles is slower than the rate of the reaction of aniline with electrophiles.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT