Código SQL [-] select cot, max(sub) from cotizaciones group by cot
select cot, max(sub) from cotizaciones group by cot