Challenge: Calculate Key Business Metrics
Tehtävä
Swipe to start coding
Write SQL queries to calculate key business metrics using the sales and customers tables. Use aggregation functions to produce the following results:
- Calculate the total revenue by summing the
total_amountcolumn from thesalestable. - Find the average order value by taking the average of the
total_amountcolumn from thesalestable. - Determine the number of unique customers by counting distinct
customer_idvalues in thesalestable.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 2
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 5.56
Challenge: Calculate Key Business Metrics
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
Write SQL queries to calculate key business metrics using the sales and customers tables. Use aggregation functions to produce the following results:
- Calculate the total revenue by summing the
total_amountcolumn from thesalestable. - Find the average order value by taking the average of the
total_amountcolumn from thesalestable. - Determine the number of unique customers by counting distinct
customer_idvalues in thesalestable.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 2
single