Personal help please,
I need to make a select in a table that contains ID, VALUE, DATE, NAME.
The result has to bring only the lines where the date was the largest one.
Example:
ID VALOR DATA NOME
1 100 22/05/2016 pedro
2 120 22/05/2016 lucas
3 100 21/05/2016 pedro
4 190 21/05/2016 lucas
5 100 21/05/2016 pedro
6 190 21/05/2016 lucas
RESULT:
D VALOR DATA NOME
1 100 22/05/2016 pedro
2 120 22/05/2016 lucas