How to write query for conerting balls to overs in SQL?
Ramana Kopparapu
306
Reputation points
Hi,
Here is my input with number of balls and runs per each ball. I want to get output in the form of overs & total runs in SQL.
balls runs Overs Total Runs
1 3 2 25
2 1
3 0
4 6
5 0
6 2
1 4
2 3
3 3
4 0
5 1
6 2
Sign in to answer