Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write SQL Queries Please Q1. How much money did each guest spend on activities in 2017? Include the guest's last name and Money Spent on

Write SQL Queries Please

Q1. How much money did each guest spend on activities in 2017? Include the guest's last name and Money Spent on Activities. Include only those guests spending at least $240.00. Display the highest values first. Q2. Write a fully nested query to display those guides who lead activities that are more than 10 miles. List their first and last name and years employed by the resort. Store the result in Ten_Mile_Guides. Display the data by the employee who has been with the resort the shortest amount of time first. Q3. Write a combination join and nested query to: List all activities that any guest of A104 participated. Housekeeping found a snake in the condo and are trying to figure out how it may have gotten there. List the date of the activity as well. Label the activity description, Activities for Families Staying in A104.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

PERSONNEL ame ame redate Type signedCondos CLEANING KID AMILIES CONDOS elationship GUIDES hdate Agel nitNum qrFt drms aths VeeklyFee GUESTS CONDOSTAYS pouseFName Guest# RESERVATIONS ACTIVITIES ndDate otalFeePaid escription ID ID ate lumberinParty otalCost ype

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

Recommended Textbook for

Database Marketing The New Profit Frontier

Authors: Ed Burnett

1st Edition

0964535629, 978-0964535626

More Books

Students also viewed these Databases questions

Question

Evaluate three pros and three cons of e-prescribing

Answered: 1 week ago

Question

Understand how to design effective service guarantees.

Answered: 1 week ago