Hi,@SPWGUT
If I understand you correctly, I think you should use max() or min() aggregation function for tb_ID, try this solution:
select Type,Tb_ID from tbl
where tb_ID in (
Select max(tbl_ID) FROM tbl
group by Type
)
Bert Zhou