Quote:
Originally Posted by selwonk
However, I would also like to map reputation.whoadded to user.username as well. Is it possible to do two INNER JOINs to get this information?
I'd be very grateful of any advice. I'm not feeling well today, and my brain hurts
Thanks in advance...
|
Yes, it is possible, you just need to use a table alias. So your join would look like this example:
[SQL]INNER JOIN user userwho ON userwho.userid = reputation.whoadded[/SQL]
And in your select, you'd reference it by userwho.username