I have a table like the following:
Number Occurrence
1 12
2 30
3 15
4 20
I want to calculate the probability according to each number’s occurrence and then want to get the number with highest probability.
I would like the SQL query for this.
1 Answer