Can you please tell how to select the highest record in a set of records. For example in the below table I want to get only the record which has the latest date (in bold).
TYP | SEQ | DATE |
---|---|---|
A | 1 | 1900-01-01 |
A | 1 | 2002-01-06 |
A | 1 | 2021-02-01 |
A | 2 | 1900-01-01 |
A | 2 | 2003-12-01 |
A | 2 | 2004-12-05 |
A | 2 | 2021-02-21 |
A | 2 | 2021-01-06 |
A | 3 | 2015-05-17 |
A | 3 | 2017-11-26 |
A | 3 | 2019-11-10 |
A | 3 | 2021-01-01 |
Thank you very much!