Relational algebra operations

Assignment Help Database Management System
Reference no: EM131555

Relational Algebra

Given the following set of relations from the East Coast Aquarium database, list the sequence of relational algebra operations needed to implement the queries below.

Species (Species Code, Latin Name, English Name)

Location (Location Code, Place in Building, Size, Head Keeper)

Population (Species Code, Location Code, Number of Animals)

Food (Type of Food)

Feeding (Species Code, Type of Food, Amount of Food, Feeding Interval)

Habitats (Habitat Type)

Can Live (Species Code, Habitat Type)

Where Found (Location Code, Habitat Type)

Source (Source Code, Source Name, Source Address, Source Phone, Contact Person)

Can Supply (Source Code, Species Code)

Shipment (P.O. #, Source Code, Order Date, Order Total $)

Shipment Items (P.O. #, Species Code, Number of Animals, Each $, Line $)

1. List the types of food eaten by species code 155.
2. List the place in the building of all locations that are more than 50 gallons in size.
3. List the types of food eaten by Bottlenose Dolphins.
4. List the English name and species code of each species that live in location code 222.
5. List the English name of all species that can live in a coral reef habitat.
6. List the names of all head keepers who are responsible for Hammerhead Sharks.
7. List the Latin name of all species that eat meal worms.
8. List the Latin name of all species that do not eat mealworms.
9. List the Latin name of all species that do not live in location 1 (the main tank).
10. List the contact person and phone number at each source that can supply harbor seals.
11. List the name of each source from which an animal costing more than $5,000 was ordered.
12. List the English name of all species that were ordered on purchase order # 85093.
13. List the name of all sources that can supply Yellow Tangs, Niger Triggers, and Blue Damselfish.
14. List the names of all sources from which the Aquarium has not ordered in the past two years

Reference no: EM131555

Questions Cloud

An efficient human identification using gait analysis : An Efficient Human Identification Using Gait Analysis, Apply specific approach for Pattern Recognition,Implement this approach in MATLAB,Compare and discuss the results with others.
Write a program that pulls four quarterly sales figure : Write a program that Pulls four quarterly sales figure
Post the journal entries to general ledger accounts : Post the journal entries to general ledger accounts. and Prepare a trial balance at November 30.
Average price-earnings ratio : What is the industry average price-earnings ratio?
Relational algebra operations : List the sequence of relational algebra operations needed to implement the queries.
Pickins mining : Calculate the payback period, profitability index, net present value, and internal rate of return for the new strip mine.
Difference between internal and external controls : What does it mean to take a "design approach" to ethical decision making
Compute the company''s predetermined overhead rate : Corporation bases its predetermined overhead rate on the estimated labor hours for the upcoming year
Communication with an smtp server : Develop a graphical user interface based java program that can communicate with a real SMTP email server for sending emails

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