Need help with relation
I have two tables:
characters
and character_scores
. They are linked by an id
column. characters
can have many of the same ID and character_scores
as well. I want to make a relation between those ID's so that when I query a unique row from characters
I want to include the associated character_scores
row(s). So for example (pseudo sql):
I hope that makes sense.
Currently I have this:
But when I write a query like this, I can't select the columns from character_scores
Maybe I'm doing something wrong, not sure.
Edit: The return type does include character_scores
so that part is working0 Replies