I have this data set in MySql:
   p_id  c_id     amount
    5      1      2000
    6      1      3000
    7      1      4000
I need to insert the same data in that table, and just increment the counter of c_id from 1 till 7.
So, in all there will be 21 entries total.
How can I do this with just SQL??
Result:
   p_id  c_id     amount
    5      1      2000
    6      1      3000
    7      1      4000
    5      2      2000
    6      2      3000
    7      2      4000
    5      3      2000
    6      3      3000
    7      3      4000
    5      4      2000
    6      4      3000
    7      4      4000
c_id can go till 9.
 
     
     
    