I have a table like;
**ID** **CASH** **INTERVAL**
  1       60     5
  2       10     3
  3       20     4
I want to add 2 columns deriving from current ones like; Column MULT means I list numbers from 1 to INTERVAL by commas and for VAL value I substract CASH from 100 and divide it by INTERVAL and list those intervals by comma listed values inside column VAL
**ID** **CASH** **INTERVAL**     **MULT**          **VAL**
  1       60         5           1,2,3,4,5          8,8,8,8,8
  2       10         3           1,2,3              30,30,30
  3       20         4           1,2,3,4            20,20,20,20
I know it looks like not an informative question but at least anyone know about to list them in single column with commas using STUFF or etc?
 
     
    