Welcome Guest, Not a member yet? Register   Sign In
Multiple db join on same table
#3

[eluser]Wonder Woman[/eluser]
Thanks for your reply but they're not in separate tables, I have author and modified_by in the news table, which stores the id of a user which I want to retrieve from the users table.

For example, an article might have been created by author whose id is 1 but later edited by a user whose id is 2...how do I amend my query to the db to get these two different users?


Messages In This Thread
Multiple db join on same table - by El Forum - 06-21-2011, 02:13 AM
Multiple db join on same table - by El Forum - 06-21-2011, 02:51 AM
Multiple db join on same table - by El Forum - 06-21-2011, 03:01 AM
Multiple db join on same table - by El Forum - 06-21-2011, 03:09 AM
Multiple db join on same table - by El Forum - 06-21-2011, 03:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB