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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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