select *
from (select t.*,row_number() over(partition by t.公司名 order by 1) rn
from t
)
where rn<=10