DB_DATAOBJECT extended join ...
| From: | Daniel Kopp | Date: | Thu, 26 Feb 2004 14:22:25 +0000 |
| Subject: | DB_DATAOBJECT extended join ... | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10963@lists.php.net to get a copy of this message | ||
Hi!
Actually I wonder whether this is allowed but it works:
how can I do:
SELECT * FROM table1
LEFT JOIN table2
ON (table1.foo = table2.foo AND table2.bar=$value)
Does it have a name? Or is that called "wrong" or "bad style" or "lucky
that
it works" or something?
regards
Daniel