Add filename to output rows

This commit is contained in:
smoogipoo 2021-09-16 14:24:30 +09:00 committed by Dean Herbert
parent 6bfb31a635
commit 9d4c5e9cb6
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,7 @@ jobs:
SELECT
m.beatmap_id,
m.mods,
b.filename,
m.diff_unified as 'sr_master',
p.diff_unified as 'sr_pr',
(p.diff_unified - m.diff_unified) as 'diff'
@ -156,6 +157,8 @@ jobs:
ON m.beatmap_id = p.beatmap_id
AND m.mode = p.mode
AND m.mods = p.mods
JOIN osu_pr.osu_beatmaps b
ON b.beatmap_id = p.beatmap_id
WHERE abs(m.diff_unified - p.diff_unified) > 0.1
ORDER BY abs(m.diff_unified - p.diff_unified)
DESC