Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write SQL to list all patrons and their number of transactions for each transaction type . Include all patrons even if they do not have

Write SQL to list all patrons and their number of transactions for each transaction type. Include all patrons even if they do not have transactions.
5. Write SQL to list the books with the word database or data base or databases in their title. Make your search case insensitive. Print the authors last name (mixed case) and the title. Sort the results by the rating.
6. Write a join command to display all the patrons with at least one book issued to them.
7. Write SQL to list all the books (book ids and first 10 characters of the title) and their total number of transactions in 2020. Include all books even ifthey have no transactions (count should be 0). Sort the results by the most popular book (the book with the most transactions).

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

Step: 3

blur-text-image

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

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions