I have two tables
MAIN:
ID, ID_NAME1, ID_NAME2
1, 1, 2
2, 3, 4
2, 2, 1
and
NAME :
ID, Name, ....
1, Carlos
2, Novak
3, Jane
4, Andre
is there a way how select with one SQL command anything like this ???
Carlos, Novak
Jane, Andre
Novak, Carlos
thank you for your help
MAIN:
ID, ID_NAME1, ID_NAME2
1, 1, 2
2, 3, 4
2, 2, 1
and
NAME :
ID, Name, ....
1, Carlos
2, Novak
3, Jane
4, Andre
is there a way how select with one SQL command anything like this ???
Carlos, Novak
Jane, Andre
Novak, Carlos
thank you for your help