Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Database book (isbn, title, authorID, genre, pubYear, publisher, rrPrice) author (aID, fName, surname) bookShop (shopNo, shopName, street, city, county) order (orderNo, SNo, oDate, salesRep) orderDetails
Database
book (isbn, title, authorID, genre, pubYear, publisher, rrPrice) author (aID, fName, surname) bookShop (shopNo, shopName, street, city, county) order (orderNo, SNo, oDate, salesRep) orderDetails (ONo, bookISBN, quantity) Information is held on books, the authors of those books and the books ordered by bookshops through sales representatives in five tables. The book table holds details orn each book: the unique isbn, the title (title), the ID of the author (authorID), the genre (genre) of the book (e.g. fiction, science), the year the book was published (pubYear), the publisher name (publisher) and the recommended retail price (rrPrice) in euros. The author table holds the author's first name (fName) and surname (surname), and the author ID (aID). Note that one author can write many books but that each book has only a single author The bookShop table holds details on bookshops: a unique shop number (shopNo), the bookshop name (shopName) and bookshop address (street, city, county). The order table holds some of the details on the orders with a unique order number for each order (orderNo), the unique ID of the shop who place the order (sNo), the date the order was placed (oDate) and the name of the sales representative who takes the order (salesRep). Note that one shop can place many orders. The orderDetails table holds details, per order (oNo), on the actual books (bookISBN) ordered and the quantity required of each book per order (quantity). Note that an order can contain many books and that one book can be included in multiple different ordersStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started