RE: [PHP-DB] Joining 2 tables
| From: | Boget, Chris | Date: | Fri, 10 Aug 2001 18:01:13 +0000 |
| Subject: | RE: [PHP-DB] Joining 2 tables | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11231@lists.php.net to get a copy of this message | ||
> select id, name from A where id NOT IN (SELECT tableAid from B where
> userid = $userid)
Unless you are using MySQL which doesn't support sub-selects...
Chris