Write a relational algebra expression

Assignment Help Computer Engineering
Reference no: EM132121144

[Relational Algebra]

Write a relational algebra expression that will output first name and last name of computer science major male students who have borrowed books from "University of Iowa Main Library".

Relational Schema:

Book(ISBN:String, Title:String, Author:String, Category:String, Year:Integer)

Student(Student_Id:Integer, First_Name:String, Last_Name:String, Major:String, Gender:Char, DOB:Date)

Library(Library_Id:String, Library_Name:String, Library_City:String)

Book_Library(ISBN:String, Library_Id:String, Book_Id:Integer)

Borrow(Student_Id:Integer, Book_Id:Integer, Borrow_Date:Date, Return_Date:Date)

The schema above is a segment of a library database. It contains some basic information about books in different libraries and the students who borrow them.

In each relation, the key of the relation is underlined. The same book can be in many libraries. For example a network of libraries can have 5 copies of book "Tale of Two Cities". A library may also have several copies of the same book. ISBN is a unique ID assigned to a book. Book_Id is a unique ID assigned for a copy of the book by a specific library network.

The relation Book stores book ISBN, the book title, the author, the category it belongs to (e.g., Computer Science, Medicine) and year of publication.

The student table records the student's unique ID, the first name, the last name and some other information. The relation Library stores information about each of the libraries in a network of libraries.

Book_Library table records the books in a library with a unique ID for every copy of a book. The database keeps track of borrowing activity in relation Borrow. Date is of format "YYYYMMDD". If a book has not been returned than the "Return_Date" value will be NULL.

Reference no: EM132121144

Questions Cloud

Determining the net asset value : If the offering price of an open-end fund is $13.80 per share and the fund is sold with a front-end load of 8%, what is its net asset value?
Describe the cognitive-behavioral model of the maintenance : Question: Case Analysis - Collaborating with Outside Providers. Describe the cognitive-behavioral model of the maintenance of bulimia nervosa
Do you think that this vision explains innovation : Do you think that this vision explains innovation and research in HCI 1998-2017?
Optimize the relationships using associative entity : Each management company handles one or more buildings; and each building is managed by one and only one management company.
Write a relational algebra expression : Write a relational algebra expression that will output first name and last name of computer science major male students.
The difference between multivalued and composite attribute : What is the difference between multivalued and composite attribute? Explain with Example.
Explain briefly what is a pixel : Regarding terminology for the quality of a picture, explain briefly What is a pixel? What is color depth?
Summarize the methodologies you used for your system : Summarize your selected software system to provide context for your colleagues. Summarise the methodologies you used for your system.
Difference between virtual memory and a memory map : What is the relation between virtual memory, a memory map, physical memory and swapping to secondary memory?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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