1. Write a query to display the author ID, first and last name for all authors that have never written a book with the subject Programming.  Sort the results by author last name. (See the figure below for the output) 2. Write a query to display the book number, title, subject, author last name, and the number of books written by that author. Limit the results to books in the Cloud subject.   Sort the results by book title and then author last name. (See the figure below for the output) 3. Write a query to display the lowest average cost of books within a subject and the highest average cost of books within a subject.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

1. Write a query to display the author ID, first and last name for all authors that have never written a book with the subject Programming.  Sort the results by author last name. (See the figure below for the output)

2. Write a query to display the book number, title, subject, author last name, and the number of books written by that author. Limit the results to books in the Cloud subject.   Sort the results by book title and then author last name. (See the figure below for the output)

3. Write a query to display the lowest average cost of books within a subject and the highest average cost of books within a subject. (See the figure below for the output)

1.
AU ID AU FNAME AU LNAME
Aggerwal
581 Manish
251 Hugo
Bruer
262 Xia
Chiang
438 Perry
Pearson
284 Trina
Tankersly
383 Neal
Walsh
2.
BOOK NUM
ВОOK TITLE
BOOK SUBJECT AU_LNAME Num Books by Author
5246 Capture the Cloud
5244 Cloud-based Mobile Applications Cloud
5244 Cloud-based Mobile Applications Cloud
Cloud
Bruer
2
Chiang
Tankersly
1
5236 Database in the Cloud
Cloud
Walsh
2
5249 Starlight Applications
Cloud
Chiang
3
3.
Lowest Avg Cost Highest Avg Cost
66.62
89.95
Transcribed Image Text:1. AU ID AU FNAME AU LNAME Aggerwal 581 Manish 251 Hugo Bruer 262 Xia Chiang 438 Perry Pearson 284 Trina Tankersly 383 Neal Walsh 2. BOOK NUM ВОOK TITLE BOOK SUBJECT AU_LNAME Num Books by Author 5246 Capture the Cloud 5244 Cloud-based Mobile Applications Cloud 5244 Cloud-based Mobile Applications Cloud Cloud Bruer 2 Chiang Tankersly 1 5236 Database in the Cloud Cloud Walsh 2 5249 Starlight Applications Cloud Chiang 3 3. Lowest Avg Cost Highest Avg Cost 66.62 89.95
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Single Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education