Bug fix player details with group score and tries (MISSING element in the select part in DB)
This commit is contained in:
parent
91ded5efdd
commit
27388e4a75
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public enum DatabaseQuery {
|
|||
// COMPLETIONS
|
||||
GET_COMPLETION(
|
||||
"SELECT id_completion, tries, fileName, score FROM completions WHERE fk_puzzle = ? AND fk_player = ?"),
|
||||
GET_COMPLETION_GROUP("SELECT c\r\n"
|
||||
GET_COMPLETION_GROUP("SELECT c.tries, c.score\r\n"
|
||||
+ "FROM completions c\r\n"
|
||||
+ "JOIN containsGroups cG on c.fk_player = cG.fk_player\r\n"
|
||||
+ "JOIN containsGroups cGs on cGs.fk_group = cG.fk_group\r\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue