Create Cursor table1 (sno N(3), ratio N(5,2)) Insert Into table1 Values(1,5.6) Insert Into table1 Values(2,0) Insert Into table1 Values(3,0) Insert Into table1 Values(4,7.8) Insert Into table1 Values(5,0) Insert Into table1 Values(6,0) Insert Into table1 Values(7,3) Insert Into table1 Values(8,0)The result looks like this