Challenge: Calculate Key Business Metrics
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Suggested prompts:
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Чудово!
Completion показник покращився до 5.56
Challenge: Calculate Key Business Metrics
Свайпніть щоб показати меню
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 2
single