8. You are working with a database table that contains invoice data. The table includes columns for billing_state, billing_country, and total. You want to know the average total price for the invoices billed to the state of Wisconsin. You decide to use the AVG function to find the average total, and use the AS command to store the result in a new column called average_total.
Add a statement to your SQL query that calculates the average total and stores it in a new column as average_total.
NOTE: The three dots (…) indicate where to add the statement.
What is the average total for Wisconsin?
1 / 1 point
5.78
Related Questions & Answers:
- Fill in the blank: Data _____ involves creating new ways of modeling and understanding the unknown by using raw data. 3.Fill in the blank: Data _____ involves creating new ways of modeling and understanding the unknown by using raw data. ... Read more...
- Data analysts use queries to request, retrieve, and update information within a database. 7.Data analysts use queries to request, retrieve, and update information within a database. 1 / 1 point True ✓ False CorrectData analysts ... Read more...
- In the following spreadsheet, the column labels in row 1 are called what? 1.In the following spreadsheet, the column labels in row 1 are called what? A B C D 1 Rank ... Read more...
- Next, you determine the average total daily sales over the past 12 months at all stores. The range that contains these sales is E2:E39. Identify the correct way to write your function. 4. Scenario 1 continued Next, you determine the average total daily sales over the past 12 months at all stores. ... Read more...
- A garden center wants to attract more customers. A data analyst in the marketing department suggests advertising in popular landscaping magazines. This is an example of what practice? 3. A garden center wants to attract more customers. A data analyst in the marketing department suggests advertising in popular ... Read more...
- Both formulas and functions in spreadsheets begin with what symbol? 1. Both formulas and functions in spreadsheets begin with what symbol? 1 / 1 point Equal sign (=) ✓ Bracket ([) Colon ... Read more...