Question

A guide to SQL 9th edition
Colonial Adventure Tours chapter 3 page 90-92
Odd numbered exercises only

7. Review me on TUI UTILIVUDIJ types used to create the ITEM table in Figure 3-34. Suggest alternate data types for the DESCR


places allowed? TRIPID Trip ID (primary key) 0 DECIMAL 3 CHAR GUIDE NUM No Guide number (primary key) FIGURE 3-39 Table layou

figure 3-39(Guide, trip, customer, reservation and Trip_Guides)

Creatin GUIDE Column Type Length Description Decimal places Nulls allowed? GUIDE NUM CHAR Guide number (primary key) LAST_NAM


POSTAL LOVU CHAR PHONE NUM HIRE_DATE Guide phone number Date guide was hired DATE TRIP Column Type Length Decimal places Null


SEASON CHAR 20 Trip season CUSTOMER Column Type Length Decimal places Description Nulls allowed? CUSTOMER_NUM CHAR Customer n


Chapter 3 RESERVATION Column Type Length Description Decimal places Nulls allowed? RESERVATION ID CHAR Reservation ID (primar


NUM_PERSONS DECIMAL De persons in reservation DECIMAL. TRIP PRICE OTHER_FEES DECIMAL CHAR Trip price per person Other fees pe

figure 1-5 chapter 1:

STATE DISTANCE MA NH 25 7 12 TRIP START LOCATION TRIPID TRIP NAME Tarts Location 1 Arethusa Falls Weathersfield 2 southey - N


STATE DISTANCE AK GRESIT NH VT LOCATION s Location atherold thersfield iton-Auban th Newry beden Grant mhield poln 10 min Lat





0 0
Add a comment Improve this question Transcribed image text
Answer #1

32611 N L X 2BEERA pevial Cacate Toble PDVENTURE TRIP C TRIPLID DECIMPLC3,01 PRINARY Kex, 75 TRIPNAME ARCHARCe) TPRTIOCATION

*****************************************************************************
PLEASE DO UPVOTE IF THE ANSWER IS HELPFUL , AS IT GIVES CONFIDENCE TO HELP MORE STUDENTS. There can be a chance that we can misunderstand each other.So before down voting please do reach out to me. Chegg allows me to answer specific no of questions including the sub parts , so please do post the rest of the questions as a separate query as per Chegg Guidelines. Thank you :)
*****************************************************************************

Add a comment
Know the answer?
Add Answer to:
A guide to SQL 9th edition Colonial Adventure Tours chapter 3 page 90-92 Odd numbered exercises...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • USE colonial; CREATE TABLE CUSTOMER (CUSTOMER_NUM CHAR(4) PRIMARY KEY, LAST_NAME CHAR(30) NOT NULL, FIRST_NAME CHAR (30),...

    USE colonial; CREATE TABLE CUSTOMER (CUSTOMER_NUM CHAR(4) PRIMARY KEY, LAST_NAME CHAR(30) NOT NULL, FIRST_NAME CHAR (30), ADDRESS CHAR(35), CITY CHAR(35), STATE CHAR(2), POSTAL_CODE CHAR(5), PHONE CHAR(12) ); CREATE TABLE RESERVATION (RESERVATION_ID CHAR(7) PRIMARY KEY, TRIP_ID DECIMAL(3,0), TRIP_DATE DATE, NUM_PERSONS DECIMAL(3,0), TRIP_PRICE DECIMAL(6,2), OTHER_FEES DECIMAL(6,2), CUSTOMER_NUM CHAR(4) ); CREATE TABLE TRIP (TRIP_ID DECIMAL(3,0) PRIMARY KEY, TRIP_NAME CHAR(75), START_LOCATION CHAR(50), STATE CHAR(2), DISTANCE DECIMAL(4,0), MAX_GRP_SIZE DECIMAL(4,0), TYPE CHAR(20), SEASON CHAR(20) ); CREATE TABLE TRIP_GUIDES (TRIP_ID DECIMAL(3,0), GUIDE_NUM CHAR(4), PRIMARY KEY (TRIP_ID, GUIDE_NUM)...

  • Need SQL statement: List the First and Last name of All Customers and whether or not...

    Need SQL statement: List the First and Last name of All Customers and whether or not they have a reservation. (Hint: the results should show the customer information even if they don’t have a reservation.) All Access Obje... 0« - Search... Tables Customer PostalCode 03053 01101 Phone - Click to Add 603-555-7563 413-555-3212 860-555-0703 781-555-8423 585-555-5321 401-555-4848 06108 01854 Guide Reservation 14590 02919 03740 Trip Trip Guides Queries Reservation Query 603-555-0456 814-555-5521 16412 A 04963 BE Trip Trip X X...

  • Partial Question 10 1/2 pts Give the SQL statement to list the trip name and state...

    Partial Question 10 1/2 pts Give the SQL statement to list the trip name and state for each trip that occurs during one of the Fall seasons that is Early Fall, Spring and Late Fall. Sort by State. Use the wildcard for the season. SELECT TripName, State FROM Trip WHERE Season LIKE '%Fall' OR SEA ORDER BY State: Answer 1: LIKE '%Fall' OR SEASON LIKE 'Spring' Answer 2: ORDER BY Partial Question 11 1/2 pts Give the SQL statement to...

  • I need the SQL statements for these questions: 6. List the reservation IDs for reservations that...

    I need the SQL statements for these questions: 6. List the reservation IDs for reservations that are for a paddling trip. (Hint: Use a subquery.) 7. What is the longest distance for a biking trip? 8. For each trip in the RESERVATION table that has more than one reservation, group by trip ID and sum the trip price. (Hint: Use the COUNT function and a HAVING clause.) 9. How many current reservations does Colonial Adventure Tours have and what is...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT