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:
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:

Verified
Correct Answer:
Verified
Q1: What are the main advantages and disadvantages
Q2: What is a sequence? Write an SQL
Q4: Consider the following relational schema:<br> <img src="https://d2lvgg3v3hfg70.cloudfront.net/TBE0001/.jpg"
Q5: Assuming that a single-row form is
Q6: (a) In PL/SQL what is a Cursor?
Q7: The relational schema shown below is part
Q8: (a)SQL*Plus environment variables are set to
Q9: (a) What is a 'table' and what
Q10: Oracle database consists of logical and physical
Q11: A relational database contains details about journeys