inblog logo
|
silver
    SQL문제풀기

    [SQL문제풀기] Top Ranked Songs

    silver's avatar
    silver
    Jan 01, 2026
    [SQL문제풀기] Top Ranked Songs
    Contents
    문제내가 작성한 정답

    문제

    StrataScratch - Top Ranked Songs
    StrataScratch
    StrataScratch - Top Ranked Songs
    https://platform.stratascratch.com/coding/9991-top-ranked-songs?code_type=3

    내가 작성한 정답

    MySQL, PostgreSQL, Oracle

    select trackname, count(distinct id) "number of times" from spotify_worldwide_daily_song_ranking where position = 1 group by trackname order by 2 desc;
    Share article

    silver

    RSS·Powered by Inblog