Solved

The Following Tables Form Part of a Database Held in a Relational

Question 4

Essay

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:
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:    Formulate the following queries using SQL: (a)  (1) List all publishers in alphabetical order of name. (2) List all printing jobs for the publisher 'Gold Press'. (3) List the names and phone numbers of all publisher who have a rush job (jobType = 'R'). (4) List the dates of all the purchase orders for the publisher 'Gold Press'. (5) How many publisher fall into each credit code category? (6) List all job type's with at least three printing jobs. (7) List the average price of all items. (8) List all items with a price below the average price of an item. (b) Create a view of publisher details for all publisher who have a rush printing job, excluding their credit code. Formulate the following queries using SQL:
(a)
(1) List all publishers in alphabetical order of name.
(2) List all printing jobs for the publisher 'Gold Press'.
(3) List the names and phone numbers of all publisher who have a rush job (jobType = 'R').
(4) List the dates of all the purchase orders for the publisher 'Gold Press'.
(5) How many publisher fall into each credit code category?
(6) List all job type's with at least three printing jobs.
(7) List the average price of all items.
(8) List all items with a price below the average price of an item.
(b) Create a view of publisher details for all publisher who have a rush printing job, excluding their credit code.

Correct Answer:

verifed

Verified

(a)
(1)SELECT pubName
FROM Publisher
O...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents