Find the name of each trip containing the word pond

Assignment Help Database Management System
Reference no: EM132081365

You just need the SQL statements for these questions:

1. 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 ID, customer number, and total price for all reservations where the number of persons is greater than four. Use the column name TOTAL_PRICE for the calculated field.

2. Find the name of each trip containing the word "Pond."

3. List the guide's last name and guide's first name for all guides that were hired before June 10, 2013.

4. What is the average distance and the average maximum group size for each type of trip?

5. Display the different seasons in which trips are offered. List each season only once.

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 the total number of persons for all reservations?

10. List the reservation ID and trip ID for all trips that occur in the month of July, 2016. There are multiple ways to create this query.

Reference no: EM132081365

Questions Cloud

Write a program that takes a command line parameter : Write a program Maze.java that takes a command line parameter N, and generates a random N-by-N perfect maze.
Create a new project folder that will contain the helper : Create a new Project folder that will contain the 3 Helper classes: the PalindromeHelper, the ReversePoemHelper, and the AdoptAPetHelper.
Create an application which adds assignments : Which Adds, Edits, and Deletes assignments onto a storage medium, with grades per student-per assignment.
Compose a program that writes the coordinates of a random : Compose a program that writes the coordinates of a random point (a, b, c) on the surface of a sphere. To generate such a point, use Marsaglia's method.
Find the name of each trip containing the word pond : How many current reservations does Colonial Adventure Tours have and what is the total number of persons for all reservations?
Create a simple php form code with handling form : You need simple php form code with handling form. You need the following features in the form in the following order.
Write a python script that will accept an input file : You need a python script that will accept an input file and count the number of words in a paragraph in the file.
Initiate or set an armed intervention : What is the criteria adopted by the U.S. presidents to initiate or set an armed intervention?
Common stock and preferred stock : What are some differences between common stock and preferred stock?

Reviews

Write a Review

Database Management System Questions & Answers

  Given the file structure shown in figure p11 answer

given the file structure shown in figure p1.1 answer problems 1-4.1.how many records does the file contain? how many

  Create an erd for this video store case

Create an ERD for this video store case. Turn in an ERD with appropriate relationship sentences. You can use drawing tools in MS Word or MS Visio to create your ERD. Make sure your relationship sentences are consistent with your relationship in yo..

  Explain user activity monitoring

In this lab, you will save user activity data in a database. A record of each user's IP address and the current date and time will be created whenever a user visits the Personnel form.

  Write a program that will open a blastn

Write a program that will open a BLASTN nucleotide to nucleotide search output file, parse out specific information, and produce formatted output that will be written to STDOUT

  How organizations can use data warehouses and data marts

discuss how organizations can use data warehouses and data marts to acquire data. Llocate at least two sources for your paper.

  Provide a complete integrated set of normalized relations

In a Microsoft Word document, provide a complete integrated set of normalized (3NF required)relations, using the format displayed in Figure 9.3e.

  How in order to perform a query on an access database

In order to perform a query on an access database, you must provide a list of

  Create a database schema that supports the companys business

Create a database schema that supports the company's business and processes.Explain and support the database schema with relevant arguments that support the rationale for the structure. Note: The minimum requirement for the schema should entail the..

  What are the candidate keys of r

Compute the closure sets of R - find all non-trivial dependencies and what are the candidate keys of R?

  Benefits of data mining to the businesses

Determine the benefits of data mining to the businesses when employing: Predictive analytics to understand the behavior of customer

  Design a entity tables for small college department library

Design a database (entity and relationship tables in Access) for a small college department library. You should have the entities and relationships you need to support Purchase books.

  Create a view with the table

Create a view with the table which shows the number of subscribers who received each type of magazine.  The view should have columns for the magazine ID and count.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd