I have a Postgresql data like:
Student Class Marks Observation tme
A 1 11 21/7/2020
A 2 13 18/7/2020
B 1 19 17/7/2020
A 1 17 15/7/2020
B 1 15 21/7/2020
I want to obtain all the rows from the data such that if for two or more rows "student" and "class" is same it will give me row only with latest observation time.
Could someone please help me with the query? Thanks.