← PracticeAggregates, GROUP BY and HAVING
JuniorTasks 374
- Top 6 restaurants by revenue: Mar–Jun 2025, from 3 kmДоставка еды
- android events, DE: by type, since Mar 2025События приложения
- Days with activity: add_to_cart events, from 12 per dayСобытия приложения
- Purchases of DE users by month: from 2000, Feb–May 2025События приложения
- Acquisition sources TR: total and web, since Mar 2025События приложения
- KZ signups by month and platform: Feb–May 2025, from 6События приложения
- Buyers: 3+ purchases from 3500, since Apr 2025События приложения
- Avg salary > 190000: salary ≥80000, hired before Jan 2023Сотрудники
- Positions, departments 19–22: 2+ people, salary from 55000Сотрудники
- Hires by month: departments 8–20, salary from 80000Сотрудники
- Depts 12–25: dismissed ≥1, salary ≥50000, since Jan 2024Сотрудники
- Employees with 5+ salary changes since July 1, 2025Сотрудники
- Departments, 5+ positions: from 80000, hired since Jul 2022Сотрудники
- Departments: payroll from 500000, hired before Apr 2025Сотрудники
- Spending by category: May–Jun 2025, from 300Банк
- Accounts: 6+ expenses in the category utilitiesБанк
- Category salary by month: May–Nov 2025Банк
- Merchants: checks from 2000, at least 600 transactionsБанк
- Accounts by type/currency since Apr 2024: active, from 20Банк
- Categories from 300 accounts: 3 mo. from August 1, 2025Банк
- Clients by segment and city: from 2, born since 1960Банк
- Top 6 merchants by spending, from 2000 per purchaseБанк
- Customers with 5+ 'shipped' orders, since Feb 2025Интернет-магазин
- Categories: from 100 items, quantity from 3Интернет-магазин
- 'new' orders by month: from 6 per monthИнтернет-магазин
- Cities with 17+ customers: old (before Jan 2025)Интернет-магазин
- Average price by category above 2700 (price 1500–3500)Интернет-магазин
- 'cancelled' orders by month, Mar–Jul 2025Интернет-магазин
- paid/cancelled orders by city: from 16, since Feb 2025Интернет-магазин
- Busy restaurants: from 9 deliveries, Jul–Aug 2025Доставка еды
- Courier tips: 6–14 km, from 10 tips, since Mar 2025Доставка еды
- Delivery time: Екатеринбург, 1 ≤ km < 7, since Aug 2025Доставка еды
- Cuisines: from 10 customers, 'cancelled', Jun–Sep 2025Доставка еды
- Revenue of restaurant 23 by monthДоставка еды
- Top 5 restaurants by revenue: Feb–Jun 2025, from 2 kmДоставка еды
- web events, UA: by type, since Mar 2025События приложения
- Days with activity: add_to_cart events, from 16 per dayСобытия приложения
- Purchases of KZ users by month: from 1000, Feb–May 2025События приложения
- Acquisition sources UA: total and web, since Feb 2025События приложения
- DE signups by month and platform: Mar–Apr 2025, from 5События приложения
- Buyers: 2+ purchases from 1000, since Apr 2025События приложения
- Avg salary > 180000: salary ≥80000, hired before Jan 2023Сотрудники
- Positions, departments 13–16: 3+ people, salary from 55000Сотрудники
- Hires by month: departments 8–20, salary from 60000Сотрудники
- Depts 4–17: dismissed ≥1, salary ≥50000, since Jan 2024Сотрудники
- Employees with 2+ salary changes since January 1, 2024Сотрудники
- Departments, 5+ positions: from 100000, hired since Jul 2022Сотрудники
- Departments: payroll from 1000000, hired before Jul 2024Сотрудники
- Spending by category: Apr 2025, from 500Банк
- Accounts: 10+ expenses in the category restaurantsБанк