BaşlayınÜcretsiz başlayın

Interquartile range

The final value that Dave wants is the count of users in the revenue interquartile range (IQR). Users outside the revenue IQR are outliers, and Dave wants to know the number of "typical" users.

Return the count of users in the revenue IQR.

Bu egzersiz, kursun bir parçasıdır

Analyzing Business Data in SQL

Kursa Göz Atın

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

SELECT
  -- Select user_id and calculate revenue by user
  ___,
  ___ AS revenue
FROM meals AS m
JOIN orders AS o ON m.meal_id = o.meal_id
GROUP BY ___;
Kodu Düzenle ve Çalıştır