SELECT floor(price/10000)*10000 as price_group, count(product_id) from product group by floor(price/10000) order by floor(price/10000) asc
floor는 내림을 의미