select
    style_id,
   count(distinct item_id) SPU_num
from product_tb
group by style_id
order by  SPU_num desc