1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
dusya [7]
4 years ago
9

Colonial Adventure Tours calculates the total price of a trip by adding the trip price plus other fees and multiplying the resul

t 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.
Engineering
1 answer:
Vilka [71]4 years ago
3 0

Answer:

The following query is used to display TripName. Reservationld, FirstName. LastName and TotalCost of trip by adding the trip price plus other fees and multiplying the result by the number of persons which have number of persons >4.

Query:

SELECT ReservationlD, Trip.TripName. Customer.LastName. Customer.FirstName. (TripPrice+OtherFees) 'NumPersons as TotalCost FROM Reservation, Trip, Customer WHERE NumPersons>4 AND Reservation.TriplD=Trip.TriplD AND

Customer. CustomerNum=Reservation.CustomerNum:

Explanation:

  • Select clause is used to retrieve data from specified database table or relation and returns the data in the form of table.
  • ReservationID. Trip.TripName. Customer.LastName. Customer.FirstName are the column name of table.
  • (TripPrice+OtherFees) 'NumPersons will calculate the total cost of the Trip and stored it into TotalCost column.
  • As clause is used to give new name TotalCost to resultant column.
  • FROM clause specifies one or more table from where records to be retrieved. o Reservation. Trip and Customer are the table name.
  • WHERE clause is used in SQL query to retrieve only those records that satisfy the specified condition

You might be interested in
What type of fire extinguisher is used for electrical fires.
AysviL [449]
The all purpose one will work or you could use type C I believe.
8 0
3 years ago
The function f determines the cost (in dollars) of a new Honda Accord in terms of the number of years t since 2000. That is, f (
lutik1710 [3]

Answer:

f(5)

Explanation:

Function notation  is  a precise way of giving information about a function without need for a lengthy written explanation. The most common function notation is f (x) which is interpreted as "f of x".

For the year 2005,

t = 2005 -2000

= 5

Using the function notation to represent the cost (in dollars) of a new Accord in 2005 is f(5)

7 0
4 years ago
Read 2 more answers
The figure below appeared three heat treatments processes of steel (A, B and C),
Contact [7]

Answer:

b

Explanation:

3 0
3 years ago
What does the automobile rely on to function?
Montano1993 [528]

Answer:

fuel

Explanation:

all automobiles rely on fuel to function

3 0
3 years ago
The condensed Q formula may be used for operations in which the friction loss can be determined for:
yan [13]

The condensed Q formula may be used for operations in which the friction loss can be determined for a: 3, 4, or 5 inch hose.

<h3>What is a firehose friction loss?</h3>

A firehose friction loss can be defined as a measure of the effect of the resistance of water against the inner side of a firehose, which typically results in a pressure drop at the terminal end.

Generally, some of the factors that affect the resistance or friction in a firehose include:

  • Length of hose.
  • Age of hose.
  • Water flow (gpm)
  • Water turbulence
  • Gravity

Mathematically, the firehose friction loss can be calculated by using this formula:

FL = C × (Q/100)² × L/100.

Read more on friction loss here: brainly.com/question/17305262

#SPJ1

3 0
2 years ago
Other questions:
  • For a metal casting with a cylindrical riser, what is the best (optimal) aspect ratio (aspect ratio is the ratio of the riser's
    5·1 answer
  • Two previously undeformed cylindrical specimens of an alloy are to be strain hardened by reducing their cross-sectional areas (w
    8·1 answer
  • Assume all surface are smooth Draw the FBD for each body
    15·1 answer
  • A. The temperature of a system is measured to be 75 °F. Express this temperature in °C, K, and R.
    9·1 answer
  • A rod is made from two segments: AB is steel and BC is brass. It is fixed at its ends and subjected to a torque of T = 680 N.m.
    5·1 answer
  • potential difference is the work done in moving a unit positive charge from one point to another in an electric field. State Tru
    12·1 answer
  • A water contains 50.40 mg/L as CaCO3 of carbon dioxide, 190.00 mg/L as CaCO3 of Ca2 and 55.00 mg/L as CaCO3 of Mg2 . All of the
    5·2 answers
  • What information you would gain by watching the video. Plz Help due today.
    6·1 answer
  • How do you know what year a mustang is?
    6·1 answer
  • Using data in Appendix A ,calculate the number of atoms in 1 tonne of iron
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!