hãy thử cái này:
select *
from MyTable T
join (Select First,max(Fourth) as Fourth
from MyTable
group by First)a
on T.First=a.First
and T.Fourth=a.Fourth
hãy thử cái này:
select *
from MyTable T
join (Select First,max(Fourth) as Fourth
from MyTable
group by First)a
on T.First=a.First
and T.Fourth=a.Fourth