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
icon
Related questions
Question
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.
Transcribed Image Text: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);
Transcribed Image Text: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);
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage