I need to implement a logic in either Java OR SQL for the following.
There are credit ratings from numbers 1 to 11. And corresponding to each rating say x, I have 3 g