how to select the first of the highlighted rows, but not the second". So, if the order\_num and rest\_type is the same only return the first one

I need to select rows without duplicate

note : column headerid it created automatic by DB and very important in select 

* the screenshot shows my problem

SELECT 
 [HeaderId],
 [fkPosCloseId],
 [TransNo],
 [fkRestTransType],
 [Total],
 [TransTypeID],
 [TransDate],
 [InsClosed]  

FROM  

 DailyTransHeader  

WHERE
 fkPosCloseId = 230642

Screenshot illustrating my problem:

![My Problem ](https://i.stack.imgur.com/qUgvY.png)