Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Thank you!!! Q1. Consider the following relational database for the GBP case. Green Book Publisher (GBP) wants to maintain data about its authors, the books,

Thank you!!!

Q1. Consider the following relational database for the GBP case.

Green Book Publisher (GBP) wants to maintain data about its authors, the books, editorial staff, and their work for the books. Each author has a unique author ID, name, address, telephone number, unique email address. A book has a unique ISBN, title, category, publication year, and publishing city. An author can write many books, and each book can be authored by many authors. An editorial staff member has a unique employee ID, employee name, title, and year hired. Some editorial staff members supervise others. Each book is usually edited by many editorial staff members. Each editorial staff member generally works for many books, but may not work for any book yet. Each time when an editorial staff member performs a specific editorial work for the book, the job type, start date, and end date are recorded. An editorial staff member can work for a book for multiple times with multiple start dates.

The database with five tables is described as follows.

image text in transcribed

BOOK Book Year BookCity *ISBN BookTitle Book Category AUTHOR AAuthorlD AuthorAdd AuthorPhone AuthorEmail AuthorName AUTHORSHIP "ISBN EDITSTAFF EmployeeName "EmployeeID Employee Title Employee Year SupervisorID EDITING JOB "ISBN EmployeeID JobType "StartDate End Date Write SQL SELECT commands to answer the following queries. (10points) e of the book with ISBN 234"? (0.8pt) a) What is the book b) List the book ISBN along with the category of "ACT" or "MIS" for those books which were published before year 1900. (1.2p) c List the names of authors who authored books which were published in Boston in the descending order along with the publishing years. (2pt d Find the book ISBN and book title of the earliest book in the "Mis" category. 13pt) e Find the name of each editorial staff member with her/his total number of books edited during the time period between 01/01/2014 and 03/01/2014. (3p)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions