Re: SELECT FROM 2 or more tables
| From: | Jonatan Pugliese. | Date: | Wed, 20 Aug 2003 19:51:09 +0000 |
| Subject: | Re: SELECT FROM 2 or more tables | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29998@lists.php.net to get a copy of this message | ||
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: [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
>