Need help with relation
I have two tables:
I hope that makes sense.
Currently I have this:
But when I write a query like this, I can't select the columns from
Maybe I'm doing something wrong, not sure.
Edit: The return type does include
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_scoresMaybe I'm doing something wrong, not sure.
Edit: The return type does include
character_scores so that part is working