SQLite Forum

Help calculating data when answers in previous row
Login
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?