Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mastering Real Time Analytics In Big Data A Comprehensive Guide For Everyone

Authors: Lennox Mark

1st Edition

B0CPTC9LY9, 979-8869045706

More Books

Students also viewed these Databases questions

Question

17. Suppose that the distribution function of X is given by?

Answered: 1 week ago

Question

=+ Is the site appropriate and accessible? Is climate a factor?

Answered: 1 week ago