※ おかず評価が同じ程度のゲームに登録してるデータ。例えば「4」はとても使える評価が過半数のゲーム数本に含まれるデータです。
| ※ | おかず得点 | 通常得点中央値 | データ数 |
|---|---|---|---|
| 4 | 4 | 88.0 | 982 |
| 4 | 3 | 80.0 | 233 |
| 4 | 2 | 78.0 | 150 |
| 4 | 1 | 70.0 | 141 |
| 4 | -1 | 60.0 | 58 |
| 4 | -2 | 49.0 | 22 |
| 3 | 4 | 87.0 | 5775 |
| 3 | 3 | 80.0 | 4029 |
| 3 | 2 | 75.0 | 2997 |
| 3 | 1 | 71.0 | 2767 |
| 3 | -1 | 65.0 | 964 |
| 3 | -2 | 60.0 | 302 |
| 2 | 4 | 85.0 | 8308 |
| 2 | 3 | 80.0 | 8510 |
| 2 | 2 | 75.0 | 11687 |
| 2 | 1 | 70.0 | 11534 |
| 2 | -1 | 65.0 | 4550 |
| 2 | -2 | 60.0 | 1441 |
| 1 | 4 | 85.0 | 6834 |
| 1 | 3 | 80.0 | 9880 |
| 1 | 2 | 78.0 | 17974 |
| 1 | 1 | 75.0 | 49906 |
| 1 | -1 | 72.0 | 27640 |
| 1 | -2 | 70.0 | 11472 |
| -1 | 4 | 90.0 | 1232 |
| -1 | 3 | 85.0 | 2139 |
| -1 | 2 | 81.0 | 5807 |
| -1 | 1 | 80.0 | 26808 |
| -1 | -1 | 76.0 | 46090 |
| -1 | -2 | 75.0 | 30269 |
| -2 | 4 | 95.0 | 62 |
| -2 | 3 | 87.0 | 85 |
| -2 | 2 | 82.0 | 234 |
| -2 | 1 | 80.0 | 1386 |
| -2 | -1 | 80.0 | 4098 |
| -2 | -2 | 74.0 | 11828 |
select om as ※,
ot as おかず得点
,round(avg(t),1) as 通常得点中央値
,round(avg(r1+r2)-1) as データ数
from
(select om,
okazu_tokuten as ot
,tokuten as t
,row_number() over(partition by okazu_tokuten,om order by tokuten,id) as r1
,row_number() over(partition by okazu_tokuten,om order by tokuten desc,id desc) as r2
from userreview ur,
(select
g
,max(ot) as om,min(ot) as om2
from
(select
game as g,
okazu_tokuten as ot
,row_number() over(partition by game order by okazu_tokuten,id) as r1
,row_number() over(partition by game order by okazu_tokuten desc,id desc) as r2
from userreview ur
where tokuten is not null
and okazu_tokuten>-3
and game in(select id from gamelist where erogame ='t')
)r
where r1>=r2-1
and r1<=r2+1
group by g)ot
where tokuten is not null and game=g
and okazu_tokuten>-3 and om=om2
and game in(select id from gamelist where erogame ='t')
)r2
where r1>=r2-1
and r1<=r2+1
group by ot,om
order by om desc,ot desc