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?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2tGb20S
via IFTTT
Aucun commentaire:
Enregistrer un commentaire