title: Split Multiple Columns into multiple rows in file
body: <p>I have a requirement where I have 25 columns, and I have to generate a file from the database with the first line containing up to 12 columns, and the rest of the columns should appear on the next line.</p>
  
  <p>In the database, the structure is like this</p>
  
  <pre><code>PrimaryKeyCol,Col1,col2,col3....col24
  </code></pre>
  
  <p>Now I have to generate the file from this table in below manner</p>
  
  <pre><code>Primarykeycol,Col1,col2....col12
  PrimaryKeycol,Col13,col14...col24
  </code></pre>
  
  <p>Thanks in advance.</p>