Find name and membership number of members

Assignment Help Database Management System
Reference no: EM1367446

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: EM1367446

Questions Cloud

Convert data model to a set of virtual windows : You are to design a prototype for a hospital management system. Design a data model for this system, Convert the data model to a set of virtual windows.
Caring code in clinical nursing education : I'm analyzing a research article titled ' application and evaluation of a caring code in clinical nursing education' where the purpose of the study is to determine if a 'caring code'
Illustrate comparison over time of market values of outputs : Illustrate what problem is posed by any comparison over time of market values of various total outputs. How is this problem resolved.
At what two locations on x-axis is the potential zero : A woman on a 10 speed bicycle travels at 9 m/s relative to ground as a she passes a little boy on a tricycle going in the opposite direction. If the boy is travelling at 1m/s relative to the ground, how fast does the boy appear to be moving relati..
Find name and membership number of members : Find the name and membership number of members who have borrowed more than five different books of that publisher.
Illustrate what effect economic and socioeconomic forces : Illustrate what effect might economic and socioeconomic forces within that nation have on product's potential.
Determine current profits : Why do you think firm 1's marginal cost is lower than firm 2's marginal cost? Determine the current profits of the the two firms. What would happen to each firm's current profits if firm 1 reduced its price to $6 while firm continued to charge $8?
Demand and supply analysis : Using demand and supply analysis, answer the questions. Determine the effects on the exchange rate between the British pound and the Japanese yen from:
Learning strategies in a certain sequence : Do you think are the most valuable for your practicum and why? Would you apply the strategies in a certain sequence? If so, what would it be and why?

Reviews

Write a Review

Database Management System Questions & Answers

  Key value of fourth index record on top level

What is the key value of the 4th index record on the top level, assuming each index record points to the record with the highest key value in a block of the next level down?

  Method to change column name

Hhow can you change column name or what is a different way to write statement in SQL so it displays the amount column as money.

  Oracle having multiple group functions in same select list

Can Oracle have multiple group functions in the same SELECT list of query (i.e can we do a COUNT and AVG)? Let us assume we wanted to find lowest, highest, average.

  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.

  Determine functional dependencies of table

Using your knowledge of Premiere Products, determine the functional dependencies that exist in the following table.

  Explaining controls for database to execute transaction

Controls which need a database to either execute transaction completely or not at all.

  Design tables in 3nf various codes for at least three fields

Create tables in 3NF. As you create the database, include different codes for at least three of the fields. Use sample data to populate fields for at least three records in each table.

  Role and tasks performed by database administrator

In 250 - 300 words describe role of a database administrator and the tasks performed by this role. Also, describe why this role is important in Database Management.

  Spreadsheet and database

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

  Draw an er diagram for database scenario

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

  Design updateable database for storing customer and sales

Design an updateable database for storing customer and sales data. Explain how to deal with the problems of missing data.

  Knowledge and data warehousing

Knowledge and Data Warehousing

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