Question: NationalPark ( pid, ? ( ) , name, state, year,rating, entry _ fee ) BelongTo ( pid , tid ? ( ) , loc Hiking

NationalPark( pid, ?(), name, state, year,rating, entry_fee)
BelongTo(pid, tid ?(),loc
Hiking( tid ?(), name, length, rating)
LocIn( pid ?(), cid ?(),loc)
Campsite(cid, name, fee, rating)
(a) Ricardo decides to experience all the campsites in every park he visits. He is not interested in visiting a park that does not have a campsite. However, his budget is $200 for camping, could you help him figure out which park he could go to? In addition, you should also list the total cost for him. (a table consists of the park name and the total cost)
(b) Ricardo now decides to go to national parks in Texas. Same like before, he plans to experience all the campsites in every park he visits. He is not interested in visiting a park that does not have a campsite and his budget is $200 for camping. This time, he is in a hurry and only can stay in the park for three days. He plays to try at least one big hiking trail (more than 8 hours of hiking time) in the park. Suppose his usual hiking speed is 1 mile per hour. Could you recommend a list of parks to him along with the total cost? (a table consists of the park name and the total cost) Hint: He needs sleep every night... do not want to waste campsite money
 NationalPark( pid, ?(), name, state, year,rating, entry_fee) BelongTo(pid, tid ?(),loc Hiking(

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!