Jump to content

join query help


TheEvilMonkeyMan

Recommended Posts

Hey maybe somebody can help me with this query... I have two tables - jobs and users. Each job row has 'master_id' and 'slave_id' which relate to a user_id in the users table. I'd like to get a job row containing master_id and slave_id resolved to a username by id preferably in one query. I had it working somewhat at one point except that it wouldn't return rows where slave_id was null.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/199219-join-query-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.