Find average number of books borrowed per member

Assignment Help Database Management System
Reference no: EM1353467

Consider the following relational schema for a library:

member(memb_no,name,dob)
books(isbn,title,authors,publisher)
borrowed(memb_no,isbn,date)

Write eh following queries in relational algebra.

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

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

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

d. Find the name and membership number of members who have borrowed more than five different books of that publisher.

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

Reference no: EM1353467

Questions Cloud

What a man needs to help provide a college education : What a man needs to help provide a college education for his young daughter. He can afford to invest $800/yr for the next four years, beginning on the girl's fourth birthday.
Calculate the x component of the velocity : What is the greatest distance foot of the ladder can be placed from the base of the wall without the ladder immediately slipping.
Difficult in healthcare organizations : What are some ways strategic managers could make culture change easier - Why is culture change so difficult in healthcare organizations
Computations to explain if the change in policy : The Kranberry kids Corporation is in the volatile garment business. The company has yearly revenues of $250 million and operates with a 30 percent gross margin on sales.
Find average number of books borrowed per member : Find the average number of books borrowed per member. Take into account that if a member does not borrow any books, then that member does not appear in the borrowed relation at all.
Illustrate what is the market elasticity of demand : Illustrate what is the market elasticity of demand. What is your elasticity of demand in this Cournot oligopoly.
Person personality determining genetically : If we were to say that a person's personality is determined genetically, would it matter what environment surrounded that person?
Explain the levels of corporate culture : Levels of Corporate Culture - Explain the three levels of corporate culture.
How high she rise during this interval : Two children fighting over a toy pull on the toy in different directions. One child pulls to the north with a force of and the other child pulls to the east with a force of What is the magnitude of net force on the toy.

Reviews

Write a Review

Database Management System Questions & Answers

  Key functions of organization-map to strategic information

From information system point of view, we should take the key functions of organization and map them to strategic information. Do your companies follow this process or are steps skipped?

  Design and build a prototype data warehouse

Design and build a prototype data warehouse using the data on Spend over £25,000 in the Science and Technology Facilities Council

  Binary 1-n relationship-optional-to-optional relationship

Give examples of binary 1:N relationships, for (a) an optional-to-optional relationship, (b) an optional-to-mandatory relationship,

  Creating database structure using sql

creating database structure using SQL

  Converting user form into 1nf and 2nf

Complete database exercise by converting user form located the evaluation procedures section of the syllabus into 1NF and 2NF.

  Sales transaction in retail clothing

Examine different sales transactions. Design a context diagram and a level-0 diagram that represent the selling system at the store.

  Create a database from scratch

Create a database from scratch that contains, at a minimum, the elements listed below

  Explain the security mechanisms available for a database

Use technology and information resources to research issues in database systems. Write clearly and concisely about relational database management systems using proper writing mechanics and technical style conventions.

  Patients post cardiac bypass surgery

Monitor Renal Outcomes in patients post cardiac bypass surgery?

  Database triggers are utilized to record logins by users

Several times, database triggers are utilized to record logins by users. Here is the example of login trigger that inserts row into table every time a user connects.

  Your task is to develop a database to support this activity

Your task is to develop a database to support this activity.Here is what you need to be able to provide Custom Auto Body in order to land your first consulting contract:

  Design relation schemas for the entire database

Design relation schemas for the entire database.

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