慕仙森
select * from (
select rank() over(partition by region order by total) as rid
,orderid,region,sales,total
from salesorder ) t
where t.rid = 1