Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assuming a library database schema with the following tables and attributes: Book (BookID, Title, AuthorID, PublisherID, Rating, Price) Author (AuthorID, FirstName, LastName) Publisher (PublisherID, Name)
Assuming a library database schema with the following tables and attributes:
Book (BookID, Title, AuthorID, PublisherID, Rating, Price)
Author (AuthorID, FirstName, LastName)
Publisher (PublisherID, Name)
Borrower (BorrowerID, FirstName, LastName)
- Write a SQL query to retrieve the names of all authors who have written a book published by "Penguin Books".
- Write a SQL query to retrieve the total number of books borrowed by each borrower.
- Write a SQL query to retrieve the names of all publishers who have published at least one book with a rating of 4 stars or higher.
- Write a SQL query to calculate the average price of books.
- Write a SOL query to find the maximum price of books.
PLEASE ANSWER CORRECTLY OR I WILL PUT
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