Hi
Whatever your reason may be, in SQL Server, the answer for your question is as below. This is a question about selecting top n rows from a grouped records.
if object_id('tempdb.#customer_tbl') is not null
drop table #customer_tbl
CREATE TABLE #customer_tbl(Col1 datetime, Col2 int, Col3 int)
INSERT INTO #customer_tbl Values('2003-07-05', 100131, 715)
INSERT INTO #customer_tbl Values('2001-03-02', 100131, 700)
INSERT INTO #customer_tbl Values('2004-09-02', 100131, 38)
INSERT INTO #customer_tbl Values('2005-08-02', 100131, 73)
INSERT INTO #customer_tbl Values('2005-08-03', 100131, 78)
INSERT INTO #customer_tbl Values('2002-01-02', 100157, 706)
INSERT INTO #customer_tbl Values('2003-01-02', 100157, 706)
INSERT INTO #customer_tbl Values('2004-01-02', 100157, 706)
SELECT * FROM #customer_tbl t
WHERE
(
Select Count(*)
FROM #customer_tbl
WHERE t.Col2=Col2
and Col1>t.Col1
)<1