I have in MySql 3 tables, of which 1 contains the code of the other two tables I try to make a select that shows me the first table and instead of the ID of the other 2 tables show me the corresponding name
tabla_1
int id_tabla1
varchar nombre_tabla1
int id_tabla2
int id_tabla3
tabla_2
int id_tabla2
varchar nombre_tabla2
tabla_3
int id_tabla3
varchar nombre_tabla3
The select I've tried is this
Select * from tabla_1,tabla_2,tabla_3 where tabla_1.id_tabla2 = tabla_2.id_tabla2 and tabla_1.id_tabla3 = tabla3.id_tabla3