bide böyle deneyin.
SELECT YEAR(EDATE), MONTH(EDATE), DATENAME(MONTH, EDATE), RATES1, RATES2
FROM L_DAILYEXCHANGES DAILY
WHERE DAILY.CRTYPE= 20
AND DAILY.EDATE IN (
SELECT MAX(EDATE)
FROM L_DAILYEXCHANGES
WHERE CRTYPE=20
GROUP BY YEAR(EDATE), MONTH(EDATE))