RienSQL
TASK #168 · Easy · Entain

Average Bet per Betting Type

Your brief
In the bets table, the betting_type field takes the values sports, casino, poker, esports.

Write a query that returns betting_type and avg_amount — the average bet size, rounded to two decimals. Sort by avg_amount ascending.
Expected columnsbetting_type avg_amountEntain / Bwin
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
customerscustomer_id, name, country, active
gamesgame_id, name, game_category
betsbet_id, customer_id, game_id, bet_date, bet_amount, betting_type
winswin_id, customer_id, win_date, win_amount