Here is a select statement of table A:
select user01_id, user02_id from A where ...
I also need to have the names of users which is in the table user. How to join the table user to have the name field and yeild two fields with the same name?
select a.user01_id,u.name, a.user02_id, u.name from a join user u on (???)
table A
user01_id int,
user02_id int,
...
primary (user01_id, user02_id)
table user
userid int primary key,
name varchar(80),
...
Thans for your advise.