Find the average number of books borrowed per member

Assignment Help Basic Computer Science
Reference no: EM131058174

Consider the following relational schema for a library:

1073_afabefe3-7db2-41d9-ae01-e8faafc86d85.png

Write the following queries in relational algebra.

a. Find the names of members who have borrowed any book published by "McGraw-Hill".

b. Find the name of members who have borrowed all books published by "McGraw-Hill".

c. Find the name and membership number of members who have borrowed more than five different books published by "McGraw-Hill".

d. For each publisher, find the name and membership number of members who have borrowed more than five books of that publisher.

e. Find the average number of books borrowed per member. Take into account that if an member does not borrow any books, then that member does not appear in the borrowed relation at all.

Reference no: EM131058174

Questions Cloud

Huge quantities of gasoline from refineries : Tanker trucks are designed to carry huge quantities of gasoline from refineries to filling stations. A factory that manufactures the tank of the trucks claims to manufacture tanks with a capacity of 8550 gallons of gasoline. The actual capacity of..
Option on multiple regression : Using SCF's SCF2010.sav, you will run a statistical multiple regression on the total amount of financial assets held by households, FIN.
Discuss basic concepts in designing for product excellence : Discuss the basic concepts in designing for product excellence. How can product design effect manufacturability and environmental responsibility?
Depression and drug use : Use these two variables to answer the following questions: Depression and Drug Use.
Find the average number of books borrowed per member : Find the average number of books borrowed per member
Null hypothesis statistical testing : What are the three criticisms of null hypothesis statistical testing?
To study the energy savings : To study the energy savings due to adding solar heating panels to a house, researchers measured the natural gas consumption of the house for more than a year, then installed solar panels and observed the natural gas consumption for almost two year..
System requirements document for course-planning : Requirements Document for Course-Planning - The Administration performs following functions like managing Professors and managing Students and managing Subjects and managing Streams and managing Schedule
Null hypothesis statistical testing : What are the three criticisms of null hypothesis statistical testing?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Manufacturer of fine cosmetic soap products

Handcrafted Soap is a manufacturer of fine cosmetic soap products. Sweet Treats' two main products are soap and cleanser. Each batch of soap consumes 50 pounds of glycerin and 30 pounds of oil. Each batch of cleanse consumes 20 pounds of glycerin and..

  Write a driver client that demonstrates all the features

For the extra 2 points, you might try adding an overloaded operator like subtract. Write a driver client that demonstrates all the features of your class.

  Where does the data appear in the file and why

Where does the data appear in the file

  Information technology is the process of using computers or

information technology is the process of using computers or computing devices to obtain and handle information and

  Essay on the topic of digital divide crosses borders

Digital divide crosses all borders, culturally and geographically, discuss how the digital divide affects society in 2014.

  Propose different chan rpc semantics

Suppose the server's reply means only that the data has been placed in the disk queue. Explain how this could lead to data loss that wouldn't occur with a local disk. Note that a system crash immediately after data was enqueued doesn't count becau..

  List at least five different pieces of hardware

(1) Identify the hardware you have on your computer and catagorize each piece as input, output, or both. (2) List at least five different pieces of hardware with at least one of each category.

  Write the complete myfnc function to return the value 1

Write the complete myfnc function to return the value 1 if they are equal and return the value 0 if they are not equal.

  Use the random class to randomly fill array list1

Use the Random class to randomly fill array list1 and then copy that array to list2 and list3. Use of the int data type is preferred.

  Monthly costs for the chain of lasala restaurants

Eva Lorraine needs to analyze the monthly costs for the chain of LaSala restaurants that she manages. She has created a spreadsheet in Excel but is unsure as to how to create formulas. She has done most of the formatting work on the spreadsheet bu..

  Express e and f in sum-of-minterms algebraic form

Express E and F in sum-of-minterms algebraic form.

  Do a lot more than calculations and reporting

Project managers do a lot more than calculations and reporting; they must keep the team on track, ensure ethical decisions are made, deal with conflict, and, depending on the type of organization, they may perform employee evaluations, issue bonuses,..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd