Question: 2) Tuple Relational Calculus Queries Consider the Hiking database schema shown below. The HIKES relation indicates the mountains hiked by each hiker. The INHABITS relation

 2) Tuple Relational Calculus Queries Consider the "Hiking" database schema shown

2) Tuple Relational Calculus Queries Consider the "Hiking" database schema shown below. The HIKES relation indicates the mountains hiked by each hiker. The INHABITS relation shows what animals inhabit each mountain and the EATS relation indicates which animals each hiker eats. Express each of the following queries using tuple relational calculus. 2.1) Print the mountains that are inhabited by an animal that hiker Scott eats. 2.2) Print the hikers that hike at least one mountain that is inhabited by an animal they eat. 2.3) Print the hikers that hike no mountain that is inhabited by an animal that they eat. Hiking Schema HIKES(hiker,mountain) INHABITS(animal,mountain) EATS(hiker,animal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!