Match two tables based on multiple column match with laravel.
I have two tables,lets say results and answers.
actual_result
id|question_id|score1|score2
user_answers
id|question_id|score1|score2
Now how can i get list of all records preferably with eloquent where scores fields of both the tables are matched ? In other words how i can get list of answers which are correct?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire