The sql "answers.was_correct='t'" is different to sqlite and mysql.
In mysq "answers.was_correct=true".