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

Answer only for (d)Refer the given table and answer the question that follov<br>Table: LIBRARY<br>Book_Type Book_Author<br>Programming Bruce Eckel<br>Programming Ivan Bayross<br>Book_Id Book_Name<br>Purchase_Date Price<br>01-OCT-1997 | 2000<br>02-MAY-1998 3000<br>Gilbert Strang 15-JAN-2000 4000<br>101<br>102<br>Thinking in Java<br>SQL<br>103<br>CALCULUS<br>Maths<br>Web Application Development Programming SemmyPurewal 01-JAN-1997| 3500<br>01-JAN-2001 3000<br>104<br>105<br>Introduction to Algorithms<br>Algorithm<br>Bruce Eckel<br>TABLE: MEMBER<br>Member_No Member_Name | Book_ID<br>Issue_date<br>Return_date<br>Fine<br>13-NOV-1998<br>26-AUG-2016<br>M101<br>RAGHAV<br>101<br>13-OCT-1998<br>M102<br>M101<br>M103<br>M102<br>ANISHA<br>102<br>12-JUN-2016<br>150.255<br>23-FEB-2000<br>23-FEB-1997<br>250.355<br>300.305<br>SARTHAK<br>103<br>26-MAR-2000<br>22-MAY-1997<br>22-MAY-2001<br>SINHA<br>104<br>JOHN<br>105<br>23-FEB-2001<br>140.255<br>Activate window<br>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<br>Outer Join][ Hint: Member Table and Library Table)<br>b) Write an SQL query to find out the names of the books and purchase_date for whose books<br>purchased after Burce Eckel

Extracted 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 ]
Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here