mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Use left join in cvstats
This commit is contained in:
parent
7221f5f730
commit
ba1a2a69d2
3 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
[tool.poetry]
|
||||
name = "royalpack"
|
||||
version = "5.8.16"
|
||||
version = "5.8.17"
|
||||
description = "A Royalnet command pack for the Royal Games community"
|
||||
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||
license = "AGPL-3.0+"
|
||||
|
|
|
@ -41,7 +41,7 @@ FROM (
|
|||
) c
|
||||
GROUP BY ph
|
||||
) all_time
|
||||
JOIN
|
||||
LEFT JOIN
|
||||
(
|
||||
SELECT date_part('hour', c.h) ph,
|
||||
AVG(c.members_connected) members_connected,
|
||||
|
@ -68,7 +68,7 @@ JOIN
|
|||
) c
|
||||
GROUP BY ph
|
||||
) last_week ON last_week.ph = all_time.ph
|
||||
JOIN
|
||||
LEFT JOIN
|
||||
(
|
||||
SELECT date_part('hour', c.h) ph,
|
||||
AVG(c.members_connected) members_connected,
|
||||
|
@ -95,7 +95,7 @@ JOIN
|
|||
) c
|
||||
GROUP BY ph
|
||||
) last_month ON last_month.ph = all_time.ph
|
||||
JOIN
|
||||
LEFT JOIN
|
||||
(
|
||||
SELECT date_part('hour', c.h) ph,
|
||||
AVG(c.members_connected) members_connected,
|
||||
|
|
|
@ -1 +1 @@
|
|||
semantic = "5.8.16"
|
||||
semantic = "5.8.17"
|
||||
|
|
Loading…
Reference in a new issue