inblog logo
|
silver
    SQL문제풀기

    [SQL문제풀기] Top Businesses With Most Reviews

    silver's avatar
    silver
    Feb 01, 2026
    [SQL문제풀기] Top Businesses With Most Reviews
    Contents
    문제내가 작성한 정답

    문제

    StrataScratch - Top Businesses With Most Reviews
    StrataScratch
    StrataScratch - Top Businesses With Most Reviews
    https://platform.stratascratch.com/coding/10048-top-businesses-with-most-reviews?code_type=7

    내가 작성한 정답

    MySQL, PostgreSQL, Oracle

    select name, review_count from (select name, review_count, rank() over(order by review_count desc) ro from yelp_business) a where ro <= 5 order by ro;
    Share article
    Contents
    문제내가 작성한 정답

    silver

    RSS·Powered by Inblog