Design an E/R diagram for the following situation about books, authors, book publishers, book sellers, and book stores. Books have an ISBN number (the key), a name, ant type of printing (e.g. hardcover or soft cover). A book can be written by many authors and one author can write many books. Authors have an NSSF number (key) and a name. Publishers are the companies that manage the printing and production of books (e.g. ‘Prentice hall’). Publishers have a name (key), year of inception, and address. A given book has a unique publisher. Book sellers maintain book stores to sell books, a given book seller can have many stores (and must have at least one store, to qualify as a book seller). A book store is one of two types – ‘brick, or ‘web-based’ (and cannot be both)
Brick book stores have a name (key) and address. Web-based book stores have a name (key) and a URL. Some book stores sell books made by many publishers but some book stores are dedicated to selling books made by only one publisher. Try to model as much as you can, and write notes if necessary. Failing to write notes implies that your diagram is exact.
Keys are
underlined
N represent many and 1 represent 1
Design an E/R diagram for the following situation about books, authors, book publishers, book sellers, and...
c) Write an ER Diagram for the following Library database. Identify all the Entities, Relationships and Attributes. Underline the primary keys and mark the different constraints. You can add an I attribute as a primary key for an entity to make t unique if necessary. Library has a number of branches in the city, each branch having a name, address and librarian. Books have title, authors and publisher. A book can have multiple authors but a single publisher. Note that same...
Homework Help!!
1. Draw an ERD for the following situation. Be sure to show: entity information, attributes, identifier(s), relationships and relationship names, and cardinality Each publisher has a unique name; a mailing address and telephone number are also kept on each publisher. A publisher may publish one or more books; a book is published by exactly one publisher. A book is identified by its ISBN, and other attributes are title, price, and number of pages. Each book is written by...
Draw a Design Class Diagram based on the following database requirements as provided by a book publisher A. For each author, the book publisher would like to keep track of the author’s ID number, name, and contact number. i. IC number is unique for each author ii. First Name iii. Last Name iv. email B. For each book, the book publisher would like to keep track of the book’s ISBN (International Standard Book Number) and name i. ISBN is unique...
1. Draw an ERD for the following situation. Be sure to show: entity information, attributes, identifier(s), relationships and relationship names, and cardinality Each publisher has a unique name; a mailing address and telephone number are also kept on each publisher. A publisher may publish one or more books; a book is published by exactly one publisher. A book is identified by its ISBN, and other attributes are title, price, and number of pages. Each book is written by one or...
Consider an ABC digital library that manages technical books, the data requirements are summarized as follows: A book is identified by its ISBN number, and it has a title, a price, and a date of publication. It is published by a publisher, which has its own ID number and a name. Each book has exactly one publisher, but one publisher typically publishes multiple books over time. A book is written by one or multiple authors. Each author is identified by...
The primary keys are underlined.
The foreign keys are denoted by asterisks (*).
Description of the schema:
• person — keeps track of the people who borrow books from the
library. The attributes contain personal and contact
information.
• author — keeps track of personal information about authors.
• publisher — keeps track of the publisher information. To keep it
simple, most of the attributes have been truncated in the sample
database. 1 trivial dependencies are things like X→X or...
NEED DONE ASAP POSTED 3 TIMES HIGHKEY Suppose you have the task of defining and setting up a relational database of books and authors. Some attributes (columns) of possible interest include: last name of author, first name, authorID, book title, book ISBN number, book category, publication date, and perhaps others. In an early (basic) version of the system, we’ll assume thateach book can have only one author, but each author can write many books. a) if an index is not...
ERD Diagram Based solely on the description of library operations below (without making up any additional facts/requirements) design a data model that avoids update anomalies. You can use text to describe your model if you want. If so be clear as to what columns have primary and foreign keys, as well as what table a FK refers to. You can sketch it out on paper and scan it. You can use Visio. You can use some other tool if you...
design a C program to control the stock of books of a small bookstore. Part 1: for the cout, it should be printf(" "); should write like that When a client orders a book, the system should check if the bookstore has the book in stock. If the bookstore keeps the title and there is enough stock for the order, the system should inform the price per copy to the client, as well as the total price of the purchase....
PLEASE MAKE SURE TO ANSWER PART 2 AND 3. YOU DON'T HAVE TO WORRY ABOUT PART 1, I ALREADY GOT IT PART 1 Part 1: Please read the business statement below and draw ER, NER, and Table Schema diagrams for it. You can submit your diagrams as a Dia file or an image file (GIF, JPG, or PNG). Business Statement: The project is about developing an auction Web site. The details are as follows: BA is an online auction Web...