Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the following SQL queries for the Bookstore / Library Management System on MS Access. You need to include SQL commands and outputs of all

Write the following SQL queries for the Bookstore/Library Management System on MS Access. You need to include SQL commands and outputs of all queries in the hardcopy of the submission. Softcopy has to be MS Access file.
You have to assume that, the current date is December 15,2023, while writing the SQL commands.
You can use "Top" function in SQL while answering the question.
SELECT TOP clause is used to specify the number of records to return.
For example SELECT TOP 2 returns first 2 rows from the resulting list.
1. Find the names of person having at least 2 checkouts during last month.
2. Find the person paying late fee most during last month.
3. Find the most 2 preferable/popular books
4. Find the book names with at least 2 Authors, list authors of the books as well.
5. What is the total revenue for the last week?
6. Which books have no hold at this moment, List them by book names in descending order
7. Which books has checked out and not returned. How many days they are late. List them by book names in ascending order
8. Which books are not available on Jan 5th,2024
9. Find names of the person who put hold most at this moment
10. Find publisher names having more than 2 books at the Library.

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

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

i need 6 5 7 .

Answered: 1 week ago

Question

2. Describe why we form relationships

Answered: 1 week ago

Question

5. Outline the predictable stages of most relationships

Answered: 1 week ago