शामिल होने के साथ ऐसा करना तेज़ होगा:
SELECT a.*
FROM mytable a
LEFT JOIN mytable b
ON a.account_number_cus = b.account_number_cus
AND b.original_date_ctr < a.original_date_ctr
WHERE b.id_ctr IS NULL
शामिल होने के साथ ऐसा करना तेज़ होगा:
SELECT a.*
FROM mytable a
LEFT JOIN mytable b
ON a.account_number_cus = b.account_number_cus
AND b.original_date_ctr < a.original_date_ctr
WHERE b.id_ctr IS NULL