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

bookChallenge: Calculate Key Business Metrics

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 2
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

bookChallenge: Calculate Key Business Metrics

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 2
single

single

some-alt