Narciso, NMR> "select nome from categorias where id_categoria in (select id_categoria NMR> from categoriamembro where id_membro=1807)"
MySQL supports subselects starting with version 4.1. AFAIK there are no binary distributions available for 4.1, so you either have to compile it yourself or wait a couple of weeks. Regards, -- Stefan Hinz <[EMAIL PROTECTED]> iConnect GmbH <http://iConnect.de> Heesestr. 6, 12169 Berlin (Germany) Telefon: +49 30 7970948-0 Fax: +49 30 7970948-3 --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php