title: Inserting only the highest value with the same id
body: <p>I am inserting a text file in a mssql database and this works. But I can't find a solution if i have 2 rows with the same <code>[bar_id]</code>, <code>[time]</code> and <code>[Q]</code> that it needs to insert the highest one in the table dQ/dt.</p>
  
  <p>Help is greatly appreciated. </p>
  
  <p>This is the table</p>
  
  <pre><code>bar_ID      time    dQ/dt   Q
  
  barcode1    0:02:44 125,24  4,57 -- this one needs to insert
  
  barcode1    0:02:44 125,11  4,57 -- this one must be deleted or skipped
  </code></pre>