Re: SELECT FROM 2 or more tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

----- Original Message ----- 
From: "John Ryan" <celticfc@iol.ie>
To: <php-db@lists.php.net>
Sent: Wednesday, August 20, 2003 4:41 PM
Subject:  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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux