I take it your transaction_id is unique? Grouping by that will prevent the count you are looking for. See below:declare @tblTrans table(transaction_id int identity(1,1),order_date datetime, order_number varchar(10), mtn varchar(10))insert into @tblTrans select '2005-06-08 00:00:00.000', 1245614777, 9156445546 union select '2005-06-08 00:00:00.000', 5545946144, 8855451343 union select '2005-06-08 00:00:00.000', 9995566772, 9165551515 union select '2005-06-08 00:00:00.000', 1321231534, 5564655654 union select '2005-06-08 00:00:00.000', 1111111111, 1111111111 union select '2005-06-08 00:00:00.000', 5555555555, 5555555555 union select '2005-06-08 00:00:00.000', 5555555555, 8885559955 union select '2005-06-08 00:00:00.000', 1313154654, 9956564564 union select '2005-06-08 00:00:00.000', 3131312313, 9999999999SELECT TOP 10 Order_Date, Order_Number, min(MTN) minMTN, Count(mtn) as DupCountFROM @tblTransWHERE Order_Date = '2005-06-08 00:00:00.000'GROUP BY Order_Number, Order_Date --, Transaction_ID-- ORDER BY transaction_id-- resultsOrder_Date Order_Number minMTN DupCount ------------------------------------------------------ ------------ ---------- ----------- 2005-06-08 00:00:00.000 1111111111 1111111111 12005-06-08 00:00:00.000 1245614777 9156445546 12005-06-08 00:00:00.000 1313154654 9956564564 12005-06-08 00:00:00.000 1321231534 5564655654 12005-06-08 00:00:00.000 3131312313 9999999999 12005-06-08 00:00:00.000 5545946144 8855451343 12005-06-08 00:00:00.000 5555555555 5555555555 22005-06-08 00:00:00.000 9995566772 9165551515 1