Re: Join table with clashing fieldnames

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

 



clive wrote:

1. This is a SQL question and not a php one.

2. select a.name as aname, b.name as bname, c.name as cname where
a.id=b.id and a.id=c.id from a,b,c

oops beer gone to my head, the from should come before the where as most of you I'm sure know.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux