I have a table like that
| Symbol     | Value       | created_at   |
|:-----------|------------:|:------------:|
| A          |      A1     |  01/01/1970  |
| A          |      A2     |  01/01/2020  |
| B          |      B1     |  01/01/1970  |
| B          |      B2     |  01/01/2020  |
| C          |      C1     |  01/01/1970  |
| C          |      C2     |  01/01/2020  |
I need to query only the last record ( sorted by created_at ) of each symbol in the table Expected output is this :
| Symbol     | Value       | created_at   |
|:-----------|------------:|:------------:|
| A          |      A2     |  01/01/2020  |
| B          |      B2     |  01/01/2020  |
| C          |      C2     |  01/01/2020  |
I have no idea how I can achieve that, do you have some suggestions? Thanks you !
 
     
     
    