I have a sample table as you can see below
| ID | Date | Info |
|---|---|---|
| 1 | 15.02.2020 | a |
| 2 | 15.02.2020 | b |
| 1 | 15.02.2020 | c |
| 1 | 15.02.2020 | d |
| 3 | 15.02.2020 | e |
| 1 | 16.02.2020 | f |
| 3 | 16.02.2020 | g |
| 3 | 16.02.2020 | h |
I need to create a select statement that show me the last row of every ID in the same day. As you can see below.
| ID | Date | Info |
|---|---|---|
| 2 | 15.02.2020 | b |
| 1 | 15.02.2020 | d |
| 3 | 15.02.2020 | e |
| 1 | 16.02.2020 | f |
| 3 | 16.02.2020 | h |
How can I manage it in Oracle SQL?