I have this table
| sale_id | amount |
| ------- | ------ |
| 5 | 3 |
| 1 | 2 |
| 3 | 1 |
And i need select JUST the sale_id of the max amount, just the number id 5 because 3 is the max amount. Sounds simple, but im having problems with this.
Can someone help me, please?