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

  Explain reasons for consulting different kinds of sources

Explain reasons for consulting different kinds of sources on the same subject.

  Business process reingineering

Topic: Business Process Reingineering 1. Search the Web and locate three (3) Web sites that relate to the topic. These sites could be white papers or research documents found on research databases, commercial or non-commercial sites that have somethi..

  The debate between utilizing paper or plastic in the retail

The debate between utilizing paper or plastic in the retail market has and will always be around. The majority of grocery stores offer you the choice of paper or plastic, and some stores are even moving towards a more environmental friendly reusable ..

  Ignore a fast recovery when packet is lost

Give a table showing, for the first 15 seconds, what A receives, what A sends, what R sends, R's queue, and what R drops.

  Construct a vector containing all of the even numbers

Construct a vector containing all of the even numbers between 6 and 33, inclusive of the end points. Store your answer in the variable evens. (Note: 33 is not an even number)

  What type of error is associated with an adc

The ADC contained within the 9S12G128 can be configured for several different digital output bits. Which is not the correct configuration?Question 3: What type of error is associated with an ADC that does not have a straight-line transfer function?

  How much pension expense does american express report

American Express discloses the following pension footnote in its 10-K report. How much pension expense does American Express report in its 2005 income statement?

  Which is used to keep the call by reference value as intact

Which is used to keep the call by reference value as intact?

  Assignment on mobile app work breakdown structure

Assignment On Mobile App (Work Breakdown Structure), This assignment contains two (2) deliverables: a summary document to be delivered in a word processor document format and a Work Breakdown Structure (WBS) to be delivered in a project file.

  Extracting company''s data using web data extractor

Extracting Company's Data Using Web Data Extractor

  Detailed description of learning activity

Detailed Description of Learning Activity

  Define a specialized representation language

Define a specialized representation language to describe the activities of a public library. This language will be a set of concepts and relations using conceptual graphs. Do the same thing for a retail business.

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