Question: Question 3 You are writing a query that will give you the total cost to the Pet Rescue organization of rescuing animals. The cost of

Question 3
You are writing a query that will give you the total cost to the Pet Rescue organization of rescuing animals. The cost of each rescue is stored in the Cost column. You want the result column to be called Total_Cost. Which of the following SQL queries is correct?
SELECT SUM(Cost) FROM PetRescue
SELECT SUM(Cost) AS Total_Cost FROM PetRescue
SELECT SUM(Total_Cost) From PetRescue
SELECT Total_Cost FROM PetRescue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!