select t1.name,t2.salary from personal t1,sal t2
where t1.id=t2.id;

----- Original Message ----- 
From: "John Ryan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 4:41 PM
Subject: [PHP-DB] SELECT FROM 2 or more tables


> Is it easy?? Is it possible?? Should I just run 2 different queries and
> output their results in the PHP script and make it look like it's all from
> the same table
>
> I cant grasp JOIN for the life of me
>
>
>
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to