mirror of
https://github.com/norohind/SquadsActivityMonitor.git
synced 2026-10-22 17:12:08 +03:00
diff: order by coalesced diff
This commit is contained in:
1 file changed
+1
-1
@@ -84,4 +84,4 @@ full join
|
||||
limit 1)) old_stats
|
||||
on new_stats.squadron_id = old_stats.squadron_id
|
||||
where coalesce(new_stats.score, 0) - coalesce(old_stats.score, 0) <> 0
|
||||
order by new_stats.score - old_stats.score desc;"""
|
||||
order by coalesce(new_stats.score, 0) - coalesce(old_stats.score, 0) desc;"""
|
||||
Reference in new issue
Block a user