Left join guilds to show players without guilds

This commit is contained in:
2024-10-31 00:00:40 +01:00
parent 79351c7402
commit 2dbb1cbd80
2 changed files with 3 additions and 3 deletions

View File

@@ -6,6 +6,6 @@ select
g.name as GuildName
from
player p
join guild g on p.guild = g.id
left join guild g on p.guild = g.id
where
p.name = $1;