Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For the following database: PEAK (NAME, ELEVATION, DIFFICULTY, MAP, REGION) CLIMBER (NAME, SEX) PARTICIPATED (TRIP_ID, NAME) CLIMBED (TRIP ID, PEAK, WHEN_CLIMBED) PEAK gives info about
For the following database: PEAK (NAME, ELEVATION, DIFFICULTY, MAP, REGION) CLIMBER (NAME, SEX) PARTICIPATED (TRIP_ID, NAME) CLIMBED (TRIP ID, PEAK, WHEN_CLIMBED) PEAK gives info about the mountain peaks that the user is interested in. The table lists the name of each peak, it elevation(in ft), its difficulty level(on a scale of 1-5), the map that it is located on, and the region of the Sierra Nevada that it is located in. CLIMBER lists the members of club, and gives their name and gender. PARTICIPATED gives the set of climbers who participated in each of the various climbing trips. The number of participants in each trip varies. CLIMBED tells which peaks were climbed on each climbing trip, along w/ the data that each peak was rnkxi. Write a SQL Query which answers the following question: Which region has had the highest fraction of its peaks climbed, and what is that fraction
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started