令人困惑的题目,排名前2的3个,那也就是有相同排名的? select product_id, product_name, type ,price from ( select product_id, product_name, type ,price, rank()over(partition by type order by price desc) as rn from product_info )t where rn<=2 order by price desc, product_name limit 3 ;
令人困惑的题目,排名前2的3个,那也就是有相同排名的?