a) (10%) Retrieve the names, surnames and phone numbers of members who have borrowed at least one book from the author Stonebraker and at least one book with a title that includes the word "Algorithms". Use SQL. b) (15%) Write a query in SQL that retrieves all data about the books of the author Lamport that were borrowed in the last year by more than 3 members. Print the result in the sorted order by the author and title. Data environment IBL The company Internet Big Library (abbr. IBL) was established in the year 2000. The most important tables of the IBL information system are as follows. Books (bid, author, title, publisher, year, notes); Members (mid, name, surname, street, city, country, birthday, phone, notes); Borrow (rid, bid, mid, date, notes);
a) (10%) Retrieve the names, surnames and phone numbers of members who have borrowed at least one book from the author Stonebraker and at least one book with a title that includes the word "Algorithms". Use SQL. b) (15%) Write a query in SQL that retrieves all data about the books of the author Lamport that were borrowed in the last year by more than 3 members. Print the result in the sorted order by the author and title. Data environment IBL The company Internet Big Library (abbr. IBL) was established in the year 2000. The most important tables of the IBL information system are as follows. Books (bid, author, title, publisher, year, notes); Members (mid, name, surname, street, city, country, birthday, phone, notes); Borrow (rid, bid, mid, date, notes);
Principles of Information Systems (MindTap Course List)
12th Edition
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter5: Database Systems And Applications
Section: Chapter Questions
Problem 11SAT
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr