How can I select max TASK_ID and CREATED_DATE from below data? Have already tried using MAX and DISTINCT : I have this data:

REFERENCE_NO       TASK_ID        CREATED_DATE
244038             83102          2020-01-14 09:23:21:000000
244038             83114          2020-01-14 09:23:21:867000