Posts by Rafael Senna • 11 points
1 post
-
0
votes3
answers13600
viewsA: How to get the value of a column corresponding to the maximum of another column?
If that’s what I’m thinking, I managed to do it this way: select * from minha_tabela where valor = (select max(valor) from minha_tabela);