Next has the following case:
Tb_importacao [cod_titulo,data,imp_situacao]
cod_titulo data_imp situacao
1 2015-04-10 1
1 2015-04-11 2
1 2015-04-11 1
1 2015-04-13 2
1 2015-04-14 3
1 2015-04-14 4
I need the highest date that has a 1% situation with%. My actual table has more than one title_code ...
Vlw!