Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT deposit_group, is_deposit_expired,
- AVG(deposit_interest) AS average_interest
- FROM wizzard_deposits
- WHERE deposit_start_date >= '1985-01-01'
- GROUP BY deposit_group, is_deposit_expired
- ORDER BY deposit_group DESC, is_deposit_expired ASC
Advertisement
Add Comment
Please, Sign In to add comment