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

  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.

  Data modeling and normalization

Data Modeling and Normalization

  Spreadsheet and database

Explain the differences between the storing data in Access and Excel. Why you would use a spreadsheet over the database?

  Explaining software measurement related to software metrics

Is software measurement equivalent to software metrics? What makes them different?

  Draw the e/r diagrams for the business rules

Draw the E/R diagrams for the business rules

  Baxter aviation database

ER diagram for the Baxter Aviation database

  Create structurally sound relational database schema

Create a structurally sound relational database schema showing the minimum number of fields, tables, and relationships between the tables.

  Determining the matrix form of game

Assume a game with two players, A and B, who raise one or both hands concurrently. A wins if total number of hands raised is odd, and B wins in other way.Write down the matrix form of the game. Is there a pure strategy solution? Explain your answer..

  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 set of 3nf tables for database scenario

Draw an ER diagram for your database scenario. Design a set of 3NF tables for your database scenario.

  Explaining uses for views

Views are integral part of virtual private databases, yet views are utilized for many other reasons. Find out many other uses for views.

  Create a database from scratch

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

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