Question
Repeat exercise 11, but this time list only hiking tips in the state of New Hampshire (NH), list each trip only once, and sort the
Repeat exercise 11, but this time list only hiking tips in the state of New Hampshire (NH), list each trip only once, and sort the results in descending order by trip name.
Question 11. Find the trip name of all reservations for hiking trips and sort the results by trip name in ascending order.
SQL Code for Q11:
SELECT DISTINCT TRIP_NAME FROM RESERVATION, TRIP WHERE RESERVATION.TRIP_ID = TRIP.TRIP_ID AND TYPE ='Hiking' Order by TRIP_NAME;
Having trouble getting the SQL code right for Q18
using textbook A Guide to SQL 9th edition and oracle application express to run the SQL code
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