select pareo, cavalo, tempo
from TURFE
where for all
(select * from TURFE t
where t.pareo = TURFE.pareo
and t.tempo < TURFE.tempo)
where exists
and t.tempo > TURFE.tempo)
where not exists
where t.pareo <> TURFE.pareo
and t.tempo = TURFE.tempo)
where ALL
and t.tempo <> TURFE.tempo)
Navegue em mais questões
{TITLE}
{CONTENT}