I have a table which have 3 fields: id, name, reporting
to which have other ids:
ID NAME REPORT
-------------------
1 asd 3
2 vv 1
3 dv 2
I want name to be printed in place of ids in the report column:
ID NAME REPORT
-------------------
1 asd dv
2 vv asd
3 dv vv
Can somebody help?