A simpler question that may lead me on to the next path: How can I sum the winAmount and count(betAmount) for a given betAmount? Do I need to use window/lag functions for this?
A simpler question that may lead me on to the next path: How can I sum the winAmount and count(betAmount) for a given betAmount? Do I need to use window/lag functions for this?