The following is a relational schema for a database to document shark sightings for a research project. Primary keys are underlined. Foreign Keys are identified by FK, and their name indicates the attribute that they reference. ________________________________________________________________ Sharks(shark_id:Integer, name:String, species_name:String, tagged_by_mission_id:Integer (FK)) Sightings(shark_id:Integer (FK), sighting_num:Integer, sight_time:Timestamp, lat:Real, lng:Real, ocean:String, mission_id:Integer (FK)) Missions(mission_id:Integer, start_date:Date, end_date:Date, vessel_id:Integer (FK)) ResearchVessels(vessel_id:Integer, name:String) ________________________________________________________________ Sharks identified by a unique id, have a name which is not necessarily unique, and a scientific species name. All Sharks are tagged and are sighted by Research Vessels, which are research ships that go on research Missions throughout the year. Each Mission has a start and end date.  Shark sightings record the shark’s id, and the mission that sighted the shark. Sightings are enumerated for each shark (i.e. the sighting_num) starting with 1. That means for the initial sighting of a shark the sighting’s sighting_num is 1, the next time that shark is sighted the sighting_num is 2 and so on. Every sighting includes the time (as a timestamp), the location (as latitude and longitude coordinates), and the ocean name (i.e. “Pacific”, “Atlantic”) in which the sighting took place. When a new Shark is added to the database, the Mission which tagged the shark is recorded in the Shark table (tagged_by_mission_id). (a) Write the Relational Algebra expressions for the set of research vessel names which have sighted sharks in the “Pacific” in 2015 (Assume that includes only missions that began and ended in 2015).   What would be the correct answer to (a)?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

The following is a relational schema for a database to document shark
sightings for a research project. Primary keys are underlined. Foreign
Keys are identified by FK, and their name indicates the attribute that they
reference.
________________________________________________________________
Sharks(shark_id:Integer, name:String, species_name:String,
tagged_by_mission_id:Integer (FK))
Sightings(shark_id:Integer (FK), sighting_num:Integer,
sight_time:Timestamp, lat:Real, lng:Real, ocean:String, mission_id:Integer
(FK))
Missions(mission_id:Integer, start_date:Date, end_date:Date,
vessel_id:Integer (FK))
ResearchVessels(vessel_id:Integer, name:String)
________________________________________________________________
Sharks identified by a unique id, have a name which is not necessarily
unique, and a scientific species name.
All Sharks are tagged and are sighted by Research Vessels, which are
research ships that go on research Missions throughout the year. Each
Mission has a start and end date. 

Shark sightings record the shark’s id, and the mission that sighted the
shark. Sightings are enumerated for each shark (i.e. the sighting_num)
starting with 1. That means for the initial sighting of a shark the sighting’s
sighting_num is 1, the next time that shark is sighted the sighting_num is 2
and so on. Every sighting includes the time (as a timestamp), the location
(as latitude and longitude coordinates), and the ocean name (i.e.
“Pacific”, “Atlantic”) in which the sighting took place.
When a new Shark is added to the database, the Mission which tagged the
shark is recorded in the Shark table (tagged_by_mission_id).


(a) Write the Relational Algebra expressions for the set of research
vessel names which have sighted sharks in the “Pacific” in 2015
(Assume that includes only missions that began and ended in 2015).  

What would be the correct answer to (a)?

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY