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
Im passed due someone help meeeeeee
vovangra [49]

Answer:

how are supposed to help when you can't do anything?

8 0
3 years ago
Read 2 more answers
A student lives in an apartment with a floor area of 60 m2 and ceiling height of 1.8 m. The apartment has a fresh (outdoor) air
USPshnik [31]

Answer:

4

Explanation:

5 0
3 years ago
Water is stored in a tank which has vent open to the atmosphere. The water level is 1.0 m below the top the tank and the water i
sp2606 [1]

Answer:

6.99 x 10⁻³ m³ / s

Explanation:

Th e pressure difference at the two ends of the delivery pipe due to atmospheric pressure and water column will cause flow of water.

h = difference in the height of water column at two ends of delivery pipe

6 - 1 =  5 m

Velocity of flow of water

v = √2gh

= √ (2 x 9.8 x 5)

=  9.9 m /s

Volume of water flowing per unit time

velocity x cross sectional area

= 9.9 x 3.14 x .015²

= 6.99 x 10⁻³ m³ / s

7 0
3 years ago
Các đặc điểm chính của đường dây dài siêu cao áp .
rodikova [14]

Answer:

Đường dây siêu cao áp 500kV: Những chuyện giờ mới kể ... ​Ngày 27/5/1994, hệ thống đường dây điện siêu cao áp 500kV Bắc - Nam chính thức đưa ... Tại thời điểm đó, các nước như Pháp, Úc, Mỹ khi xây dựng đường dây dài nhất ... và chế ra các máy kéo dây theo đặc thù công việc của từng đơn vị.

Explanation:

8 0
3 years ago
What are the Basic requirements of drinking Water ?
iragen [17]

Answer:

1) free of contaminants, 2) alkaline, and 3) micro-clustered

Explanation:

Hope it helps you

4 0
3 years ago
Other questions:
  • A ring-shaped seal, made from a viscoelastic material, is used to seal a joint between two rigid pipes. When incorporated in the
    5·1 answer
  • Please select the word from the list that best fits the definition I love horses and want to be a veterinarian
    12·2 answers
  • A capillary tube is immersed vertically in a water container. Knowing that water starts to evaporate when the pressure drops bel
    11·1 answer
  • At the grocery store you place a pumpkin with a mass of 12.5 lb on the produce spring scale. The spring in the scale operates su
    5·1 answer
  • A 50 mol% mixture of propane (1) and n-butane (2) enters an isothermal flash drum at 37°C. If the flash drum is maintained at 0.
    12·1 answer
  • Please please help please with this this is the link for the story PLEASE PLEASE HELP PLEASE PLEASE help please
    7·1 answer
  • What is the friction factor for fully developed flow in a circular pipe where Reynolds number is 1000
    6·1 answer
  • Ppman2000 Aye Get On Treasure Quest and Join Masons Kingdom :D
    10·1 answer
  • Which term describes the lowest of a foundation?
    10·1 answer
  • Concrete ___ support and anchor the bottom of steel columns and wood post, which support beams that are pare of framing system o
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!