Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Calculate Key Business Metrics | Aggregations for KPIs
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Business Intelligence Analysts

bookChallenge: 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_amount column from the sales table.
  • Find the average order value by taking the average of the total_amount column from the sales table.
  • Determine the number of unique customers by counting distinct customer_id values in the sales table.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 2
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

bookChallenge: 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_amount column from the sales table.
  • Find the average order value by taking the average of the total_amount column from the sales table.
  • Determine the number of unique customers by counting distinct customer_id values in the sales table.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 2
single

single

some-alt