Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following tables form part of a database held in a Relational Database Management System for a printing company that handles printing jobs for book
The following tables form part of a database held in a Relational Database Management System for a printing company that handles printing jobs for book publishers: Publisher (pubID, pubName, street, city, postcode, telNo, creditCode) BookJob (jobID, pubID, jobDate, description, jobType) PurchaseOrder (jobID, poID, poDate) PurchaseItem (jobID, poID, itemID, quantity) Item (itemID, description, onHand, price) In the above, primary keys are underlined. where: Publisher contains publisher details and pubID is the key. BookJob: contains details of the printing jobs (books or part books) and joblD is the key. PurchaseOrder : A printing job requires the use of materials, such as paper and ink, which are assigned to a job via purchase orders. This table contains details of the purchase orders for each job and the key is joblD/polD. Each printing job may have several purchase orders assigned to it. Purchaseltem: Each purchase order may contain several PO items. This table contains details of the PO items and jobID/polD/itemlD form the key. Item: contains details of the materials which appear in POltem, and the key is itemID. 1. Display all publishers in alphabetical order of name.H 2. Display all printing jobs for the publisher 'Gold Press'e 3. Display the names and phone numbers of all publisher who have a rush job(jobType=R)e 4. Display the dates of all the purchase orders for the publisher 'PressMan' 5. How many publisher fall into each credit code category? 6. Display all job type's with at least three printing jobse 7. Display average price of all iteme
Step 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