Table: LIBRARY Book_Id Book_Name Book_Type Book Author Purchase_Date Price 101 102 Thinking in Java SQL Programming Bruce Eckel Programming Ivan Bayross 01-OCT-1997 2000 02-MAY-1998 3000 103 CALCULUS Maths Gilbert Strang 15-JAN-2000 4000 Web Application Development Programming SemmyPurewal 01-JAN-1997 3500 Algorithm 104 105 Introduction to Algorithms Bruce Eckel 01-JAN-2001 3000 TABLE: MEMBER Member_No Member_Name Book_ID Issue_date Return_date Fine M101 RAGHAV 101 13-ОСТ-1998 13-NOV-1998 150.255 250.355 300.305 140.255 Ativate widow M102 ANISHA 102 12-JUN-2016 26-AUG-2016 M101 M103 M102 SARTHAK 103 23-FEB-2000 26-MAR-2000 SINHA JOHN 104 105 23-FEB-1997 23-FEB-2001 22-MAY-1997 22-MAY-2001 a) Write an SQL query to display the Member No, Member Name, Book Name of members, which books issued other than Bo Outer Join][ Hint: Member Table and Library Table] b) Write an SQL query to find out the names of the books and purchase date for whose books purchased after Burce Eckel books Use Sub query). [Hint: Library Table ] c) Write an SQL query to dispiay the book name and a book id of books whose books purchase_date is less than at least one year purchase date of Ivan Bayross. [Use Mulitple Row Sub query) [ Hint: Library Table ) d) Write an SQL to find the minimum fine of the members in each member of the group for which member groups with an average of fine less than 300. (Hint: Member Table ]
Table: LIBRARY Book_Id Book_Name Book_Type Book Author Purchase_Date Price 101 102 Thinking in Java SQL Programming Bruce Eckel Programming Ivan Bayross 01-OCT-1997 2000 02-MAY-1998 3000 103 CALCULUS Maths Gilbert Strang 15-JAN-2000 4000 Web Application Development Programming SemmyPurewal 01-JAN-1997 3500 Algorithm 104 105 Introduction to Algorithms Bruce Eckel 01-JAN-2001 3000 TABLE: MEMBER Member_No Member_Name Book_ID Issue_date Return_date Fine M101 RAGHAV 101 13-ОСТ-1998 13-NOV-1998 150.255 250.355 300.305 140.255 Ativate widow M102 ANISHA 102 12-JUN-2016 26-AUG-2016 M101 M103 M102 SARTHAK 103 23-FEB-2000 26-MAR-2000 SINHA JOHN 104 105 23-FEB-1997 23-FEB-2001 22-MAY-1997 22-MAY-2001 a) Write an SQL query to display the Member No, Member Name, Book Name of members, which books issued other than Bo Outer Join][ Hint: Member Table and Library Table] b) Write an SQL query to find out the names of the books and purchase date for whose books purchased after Burce Eckel books Use Sub query). [Hint: Library Table ] c) Write an SQL query to dispiay the book name and a book id of books whose books purchase_date is less than at least one year purchase date of Ivan Bayross. [Use Mulitple Row Sub query) [ Hint: Library Table ) d) Write an SQL to find the minimum fine of the members in each member of the group for which member groups with an average of fine less than 300. (Hint: Member Table ]
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
Related questions
Question
Answer only for (d)
![Refer the given table and answer the question that follov
Table: LIBRARY
Book_Type Book_Author
Programming Bruce Eckel
Programming Ivan Bayross
Book_Id Book_Name
Purchase_Date Price
01-OCT-1997 | 2000
02-MAY-1998 3000
Gilbert Strang 15-JAN-2000 4000
101
102
Thinking in Java
SQL
103
CALCULUS
Maths
Web Application Development Programming SemmyPurewal 01-JAN-1997| 3500
01-JAN-2001 3000
104
105
Introduction to Algorithms
Algorithm
Bruce Eckel
TABLE: MEMBER
Member_No Member_Name | Book_ID
Issue_date
Return_date
Fine
13-NOV-1998
26-AUG-2016
M101
RAGHAV
101
13-OCT-1998
M102
M101
M103
M102
ANISHA
102
12-JUN-2016
150.255
23-FEB-2000
23-FEB-1997
250.355
300.305
SARTHAK
103
26-MAR-2000
22-MAY-1997
22-MAY-2001
SINHA
104
JOHN
105
23-FEB-2001
140.255
Activate window
a) Write an SQL query to display the Member No, Member_Name, Book Name of members, which books issued other than Book_ld's of 'A101 and C101. [Use Right
Outer Join][ Hint: Member Table and Library Table)
b) Write an SQL query to find out the names of the books and purchase_date for whose books
purchased after Burce Eckel" books Use Sub query. [ Hint: Library Table]
c) Write an SQL query to display the book_name and book_id of books whose books purchase_date is less
than at least one year purchase_date of ivan Bayross. [Use Mulitpie Row Sub query) [ Hint: Library Table )
d) Write an SQL to find the minimum fine of the members in each member of the group for which member groups
with an average of fine less than 300. [ Hint: Member Table ]](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3f6edcf5-84c1-49a1-8f29-6b946e0a023c%2Fe0078677-e1c1-4534-aac1-13b91411a3f0%2Fbwka2k_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Refer the given table and answer the question that follov
Table: LIBRARY
Book_Type Book_Author
Programming Bruce Eckel
Programming Ivan Bayross
Book_Id Book_Name
Purchase_Date Price
01-OCT-1997 | 2000
02-MAY-1998 3000
Gilbert Strang 15-JAN-2000 4000
101
102
Thinking in Java
SQL
103
CALCULUS
Maths
Web Application Development Programming SemmyPurewal 01-JAN-1997| 3500
01-JAN-2001 3000
104
105
Introduction to Algorithms
Algorithm
Bruce Eckel
TABLE: MEMBER
Member_No Member_Name | Book_ID
Issue_date
Return_date
Fine
13-NOV-1998
26-AUG-2016
M101
RAGHAV
101
13-OCT-1998
M102
M101
M103
M102
ANISHA
102
12-JUN-2016
150.255
23-FEB-2000
23-FEB-1997
250.355
300.305
SARTHAK
103
26-MAR-2000
22-MAY-1997
22-MAY-2001
SINHA
104
JOHN
105
23-FEB-2001
140.255
Activate window
a) Write an SQL query to display the Member No, Member_Name, Book Name of members, which books issued other than Book_ld's of 'A101 and C101. [Use Right
Outer Join][ Hint: Member Table and Library Table)
b) Write an SQL query to find out the names of the books and purchase_date for whose books
purchased after Burce Eckel" books Use Sub query. [ Hint: Library Table]
c) Write an SQL query to display the book_name and book_id of books whose books purchase_date is less
than at least one year purchase_date of ivan Bayross. [Use Mulitpie Row Sub query) [ Hint: Library Table )
d) Write an SQL to find the minimum fine of the members in each member of the group for which member groups
with an average of fine less than 300. [ Hint: Member Table ]
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Knowledge Booster
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.Recommended textbooks for you

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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education