Answered step by step
Verified Expert Solution
Question
1 Approved Answer
DATABASE: library (library_name [pk], City, Phone, manager_SSN [pk, fk]) book (book_name [pk], Genre, Country) borrower (SSN (pk), Name, Birthyear, Fav_book[fk], Gender) likes (SSN[pk, fk],
DATABASE: library (library_name [pk], City, Phone, manager_SSN [pk, fk]) book (book_name [pk], Genre, Country) borrower (SSN (pk), Name, Birthyear, Fav_book[fk], Gender) likes (SSN[pk, fk], book [pk, fk]) bookLoans (library [fk], books [fk]) manager (SSN[pk], Name, City, Address, Phone) | Provide OPTIMIZED relational algebra for the following queries: 1 a) List name, gender, and age of all borrowers. b) List all male borrowers older than 65 years of age. c) List the book names loaned by at least one library and liked by at least one borrower. d) List the name and ssn of all borrowers who like their favorite book
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started