subject

Consider a library database with the following schema (where primary keys are underlined):Book(bookID, ISBN, title, author, publish-year, category)Member(memberID, lastname, firstname, address, phone-number, limit)CurrentLoan(memberID, bookID, loan-date, due-date)History(memberID, bookID, loan-date, return-date)Members can borrow books from the library. The number of books they can borrow is limited by the "limit" field of the Member relation. The category of a book includes fiction, non-fiction, children’s and reference. The CurrentLoan table represents the information about books that are currently checked out. When the book is returned to the library, the record will be removed from CurrentLoad relation, and will be inserted into History relation with the return-date. A library may have more than one copy of the same book, in which case each copy has its own bookID, but all copies share the same ISBN. Express each of the following tasks in relational algebra. a. Find the phone-number and address of James Baker. b. Find the last name and first name of the member who is currently borrowing a book for which the bookID is 120058.c. List the bookID, title and author of all the books that were borrowed in the past by James Baker. d. List the bookID and title of all the books that are either currently checked out or borrowed in the past by James Baker. e. Find the bookID and title of all the books that are not currently checked out.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 21:30, Devan6264
You need to write some code that responds to a text change in a jtextfield. how can you do that? create a class that implements the interface actionlistener and override the method textfieldchanged create a class that extends the superclass actionlistener and override the method actionperformed create a class that implements the interface actionlistener and override the method actionperformed create a class that extends the superclass actionlistener and override the method textfieldchanged
Answers: 2
image
Computers and Technology, 22.06.2019 19:30, tfaulk2884
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
image
Computers and Technology, 22.06.2019 23:00, cchotshot
Is an attack that relies on guessing the isns of tcp packets
Answers: 2
image
Computers and Technology, 24.06.2019 03:00, greenhappypiggies
Using a conditional expression, write a statement that increments numusers if updatedirection is 1, otherwise decrements numusers. ex: if numusers is 8 and updatedirection is 1, numusers becomes 9; if updatedirection is 0, numusers becomes 7.
Answers: 1
You know the right answer?
Consider a library database with the following schema (where primary keys are underlined):Book(bookI...

Questions in other subjects: