The situation that I present is not explained well.
But I have a table of matches with the following fields: Identificador
, tipo de deporte
, fecha
, visitante
and local
.
Visitor and local are type int
.
At the moment of making a selection, something like this remains:
1 | 1 | 01-01-1900 | 1 | 2
I have another team table with the following fields: Identificador
, nombre
and tipo de deporte
.
I would like to be able to replace the identifier of the visiting and local team with the name found in the equipment table