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

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!