And If you need the complete record then you can
SELECT TBL1.*
FROM <<TABLE_NAME>> AS TBL1
INNER JOIN
(
SELECT CUSTOMER_ID, MIN(START_DATE) MIN_START_DATE FROM <<TABLE_NAME>> GROUP BY CUSTOMER_ID
) TBL2
ON TBL1.CUSTOMER_ID = TBL2.CUSTOMER_ID
AND TBL1.START_DATE = TBL2.MIN_START_DATE
↧