RE: [PHP-DB] Multiple table select, but still returning row if no record exists in second table?

From: Date: Thu, 31 Oct 2002 21:37:55 +0000
Subject: RE: [PHP-DB] Multiple table select, but still returning row if no record exists in second table?
Groups: php.db 
Request: Send a blank email to php-db+get-22866@lists.php.net to get a copy of this message
The query should look similar to this: SELECT table1.col as [column_a],
              table2.col as [column_b]
FROM    table1
LEFT JOIN (or LEFT OUTER JOIN) table2 ON table2.some_key_col = table1.some_key_col ... for all required keys WHERE <search condition>

« previous php.db (#22866) next »