Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ANY HELP PLEASE, PLEASE ANSWER ALL QUESTIONS.. THANKS Assume that peerAdvisorID is a reference to another student (the studentid of another student). Publisher(publishername, address, city,

ANY HELP PLEASE, PLEASE ANSWER ALL QUESTIONS.. THANKS

Assume that peerAdvisorID is a reference to another student (the studentid of another student). Publisher(publishername, address, city, state)

Book(isbn, title, datePublished, publishername)

BookCopy(bookID, isbn, condition, datePurchased, price)

BookCheckout(bookID, studentID, dateIn, dateOut)

Student(studentID, firstname, lastname, city, state, email, peerAdvisorID)

Write relational algebra commands to do the following tasks.

1.Output the First Name and Last Name for all students from New Jersey.

2.Output the bookid, title, and condition of all book copies.

3.Output the first and last name of students along with the title of every book they have checked out.

4.Output the average price of all books.Output the average price of books checked out by a student from New Jersey.

5.Output the name of each publisher and the number of books published by that publisher

6.Output the names of all students and the name of their peer advisor.

7.Output the bookid for all book copies that have been checked out by every student.

8.Output the bookid for all book copies that have never been checked out by a student.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

Describe a CMC material.

Answered: 1 week ago