This would seem fairly basic, but it has been a long day.
I two fields in one table called owner and submitter. I have another table called users with a field called ID.
Now both the owner and submitter field can (don't have to) contain users.ID values, but they may not be the same users.ID value.
There for I need to do something like
SELECT ...
FROM Table1 LEFT JOIN Users ON Table1.Owner = Users.ID
- OR -
Table1 LEFT JOIN Users ON Table1.Submitter = Users.ID
This would seem like a fairly basic request, but I am not getting it to work.
Any help would be appreciated.
-- Jeff Chastain
I two fields in one table called owner and submitter. I have another table called users with a field called ID.
Now both the owner and submitter field can (don't have to) contain users.ID values, but they may not be the same users.ID value.
There for I need to do something like
SELECT ...
FROM Table1 LEFT JOIN Users ON Table1.Owner = Users.ID
- OR -
Table1 LEFT JOIN Users ON Table1.Submitter = Users.ID
This would seem like a fairly basic request, but I am not getting it to work.
Any help would be appreciated.
-- Jeff Chastain