[tmp] and completion

This commit is contained in:
jeffcheasey88 2023-09-18 07:50:27 +02:00
parent ecea0a396c
commit cf5695e011

View file

@ -53,7 +53,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 = ?"),
INSERT_COMPLETION(
"INSERT INTO completions (fk_puzzle, fk_player, tries, code, fileName, score) values (?, ?, ?, ?, ?, ?)"),
UPDATE_COMPLETION(