Re: the opposite of a join?
| From: | Colin Guthrie | Date: | Wed, 03 Oct 2007 20:07:47 +0000 |
| Subject: | Re: the opposite of a join? | ||
| References: | 1 2 | Groups: | php.db php.general |
| Request: | Send a blank email to php-db+get-44124@lists.php.net to get a copy of this message | ||
Martin Marques wrote:
> SELECT * FROM company WHERE id NOT IN (SELECT companyID FROM contacts);
Not ideal as has been mentioned else where in this thread.
Col