title: how to print the data only once when the data is same
body: <p>when I use the below code iam printing the days for all the tech.</p>
  
  <pre><code>while( my ( $A1, $Days, $package, $Tech)= $TF_QUERY-&gt;fetchrow_array())
  {
    print "$file $A1,$Days,$package,$tech";
  }
  
  A1    Days  package     Tech
  
  001    10   value1      2g
  
  001    10    value1     3g
  
  001    10    value1     wifi
  
  001    10    value1     NA
  </code></pre>
  
  <p>I want to print the output in the following format,Can you please help me out to print the below format.</p>
  
  <pre><code>A1    Days  package     Tech
  
  001    10     value1        2g
  
  001          value1     3g
  
  001          value1     wifi
  
  001          value1     NA
  </code></pre>