New query

This commit is contained in:
sergiotarxz 2023-05-02 20:57:09 +02:00
parent 6ebfc8cbe5
commit 00b8991961
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ SELECT paths.path,
$SELECT_GLOBAL
where requests.path = paths.path and date > NOW() - interval '1 month'
) as unique_ips_last_month
FROM paths;
FROM paths
WHERE paths.last_seen > NOW() - INTERVAL '1 month';
EOF
return $data;
}