Hello friends; I have two tables, one being the duel table and the other the team table. In the duel table, I am writing the IDs of the data in the team table in the first_team and second_team columns. However, since there are two team IDs in a single row, I am unable to get the desired output. What kind of query should I write or PHP loop should I create? Duel table: team table: Desired output: