How do I count the number of rows in a table where a specific value sits that I query for?
example:
SELECT score from table WHERE score > 100 ORDER BY score desc
let's say the result is:
row1- Bob- 145
row2- Sally- 135
row3- John- 125
row4- Cindy- 115
row5- Bill- 105
What query will result in the following statement:
"Cindy has beaten 3 players with a score of 115"
Thanks