Table: LIBRARY Book_Id Book_Name Thinking in Java SQL Book_Type Book_Author Programming Bruce Eckel Programming Ivan Bayross Gilbert Strang Purchase_Date Price 01-OCT-1997 | 2000 02-MAY-1998 3000 101 102 103 CALCULUS Maths 15-JAN-2000 4000 Web Application Development Programming SemmyPurewal 01-JAN-1997 3500 Algorithm 104 Introduction to Algorithms 3000 105 Bruce Eckel 01-JAN-2001 TABLE: MEMBER Member_No Member_Name Book_ID Issue_date Return_date Fine M101 M102 M101 M103 RAGHAV 101 13-OCT-1998 13-NOV-1998 26-AUG-2016 26-MAR-2000 22-MAY-1997 22-MAY-2001 ANISHA 102 12-JUN-2016 150.255 250.355 300.305 SARTHAK 103 23-FEB-2000 SINHA 104 23-FEB-1997 140.255 Activate wdow M102 JOHN 105 23-FEB-2001 a) Write an SQL query to display the Member No, Member Name, Book Name of members, which books issued other than Book id's of 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 book_id of books whose books purchase_date is less than at least one year purchase date of ivan Bayross. [Use Muitpie Row Sub query) [ Hint: Library 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
icon
Related questions
Question
Answer only for (a) (b) (c)
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 ]
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
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
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