Ver originalselect * from rel_sinonimos rsINNER JOIN palabras_sinonimos ps on rs.id_pal1=ps.id_palabraINNER JOIN palabras_sinonimos ps1 on rs.id_pal2=ps1.id_palabrawhere id_pal1='1' or id_pal2='1'