I have this problem, which it's keeping me out of focus from the main project on Laravel.
I have 2 tables without any fk on them
TableA:
id(INT)
Name(VARCHAR)
EventId(INT)
PlayerChoiceId(INT)
and
TableB:
id(INT)
PlayerChoice(VARCHAR)
PlayerColor(VARCHAR)
I need to make a method on my controller to select all of the data from TableA with the PlayerChoice value, not the id from TableB, but without LEFT JOIN.
Example: id(TableA)|Name|EventId|PlayerChoice