In a table, I have a data which I mentioned below.
Driver_Name_1 Age Driver_Name_2 Age Driver_Name_3 Age
Tony 35 Mark 32
From the above one record, I have to insert into the another table with separate row for each driver using for loop. I have to check the first if Driver Name 1 is not null and then I have to insert the record with Driver Name 1 and age. And If Driver Name 2 is not null then I have to insert another record and go on.