[tmp] Fix group on chapter 1

This commit is contained in:
jeffcheasey88 2023-09-18 07:46:47 +02:00
parent f92462db82
commit ecea0a396c
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -65,7 +65,8 @@ public enum DatabaseQuery {
+ "JOIN containsGroups cGs on cGs.fk_group = cG.fk_group\r\n"
+ "JOIN groups g on cG.fk_group = g.id_group\r\n"
+ "JOIN puzzles p on p.id_puzzle = c.fk_puzzle\r\n"
+ "WHERE cGs.fk_player = ? AND p.id_puzzle = ?"),
+ "JOIN chapters ch on ch.id_chapter = p.fk_chapter\r\n"
+ "WHERE ch.id_chapter < 2 AND cGs.fk_player = ? AND p.id_puzzle = ?"),
// PLAYERS
GET_PLAYER_SIMPLE("SELECT pseudo, email, firstname, lastname, description FROM players WHERE id_player = ?"),