Fixed join of tables in answerview
This commit is contained in:
parent
c17f5fd568
commit
50f64ec4e8
1 changed files with 2 additions and 1 deletions
|
@ -35,9 +35,10 @@ class PracticeDatabase {
|
||||||
PracticeSession.type as type,
|
PracticeSession.type as type,
|
||||||
PracticeAnswer.question as question,
|
PracticeAnswer.question as question,
|
||||||
PracticeAnswer.answer as answer,
|
PracticeAnswer.answer as answer,
|
||||||
|
PracticeAnswer.correct as correct,
|
||||||
PracticeAnswer.time as time
|
PracticeAnswer.time as time
|
||||||
FROM PracticeSession
|
FROM PracticeSession
|
||||||
INNER JOIN PracticeAnswer on PracticeSession.id = PracticeAnswer.id;
|
INNER JOIN PracticeAnswer on PracticeSession.id = PracticeAnswer.sessionId;
|
||||||
''');
|
''');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue