select * from ( select temp.month, row_number() over ( partition by temp.month order by temp.play_pv desc, temp.song_id ) ranking, temp.song_name, temp.play_pv from ( select year (a.fdate) year, month (a.fdate) month, b.song_id, b.song_name, count(a.song_id) play_pv from play_log as a inner join (se...