1
Fork 0
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:
Steffo 2020-06-14 17:55:25 +02:00
parent 7221f5f730
commit ba1a2a69d2
Signed by: steffo
GPG key ID: 896A80F55F7C97F0
3 changed files with 5 additions and 5 deletions

View file

@ -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+"

View file

@ -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,

View file

@ -1 +1 @@
semantic = "5.8.16"
semantic = "5.8.17"