Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

List the trip name, type, and maximum group size for all trips that have Sam Kelly as a guide. SELECT TripName, Type, MaxGrpSize FROM Trip,

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
List the trip name, type, and maximum group size for all trips that have Sam Kelly as a guide. SELECT TripName, Type, MaxGrpSize FROM Trip, Guide, WHERE Trip. AND Guide.GuideNum = AND LastName = 'Kelly'; List the reservation ID, customer last name, and the trip name for all reservations where the number of persons included in the reservation is greater than four. SELECT ReservationID, LastName, TripName FROM Reservation, Trip, WHERE TriplD = Trip. TriplD AND Reservation.CustomerNum = AND Answer 1: Customer Colonial Adventure Tours calculates the total price of a trip by adding the trip price plus other fees and multiplying the result by the number of persons included in the reservation. List the reservation ID, trip name, customer's last name, and total cost for all reservations where the number of persons is greater than four. Use the column name TotalCost for the calculated field. SELECT ReservationID, TripName, LastName, ((TripPrice + OtherFees) NumPersons) FROM , Trip, Customer WHERE Reservation. TripID = Trip. TriplD AND Reservation.CustomerNum = AND NumPersons > 4; Add a new reservation to the Reservation table for reservation ID of 1600031 , trip ID of 12 , trip date of 10/1/2016, number of persons of 2 , trip price of $40, other fees of $11, customer number of 123 . INSERTINTO VALUES 12, ,2,40 123); Colonial Adventure Tours Guide Reservation Trin

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

Students also viewed these Databases questions

Question

f. Did they change their names? For what reasons?

Answered: 1 week ago