![]() |
inner join problem
I have two tables:
* JobInfo - gives information about each job * Employees - lists employees and their information In each job, I need to create an entry that assigns a draftsman and a salesperson to each project (in the JobInfo table). I can't figure out how to join both the salesperson and the draftman fields to the employees table. Can somebody tell me what I'm doing wrong? Thanks in advance for the help. Below is my code: Code:
$result= mysql_query (" |
Re: inner join problem
You need to use table aliases
Code: SQL
|
Re: inner join problem
Thank you so much! I never realized you could do that. You've been a tremendous help!
|
| All times are GMT +5.5. The time now is 05:37. |