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)
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