At 21:44 -0400 3/24/04, WebMaster Informática007 wrote:
Hi



I have problem with a Query.



It does not recognize EXISTS.



My version is MySQL 4.0.11a-gamma

Subqueries are supported beginning with MySQL 4.1.0.


http://www.mysql.com/doc/en/Subqueries.html
http://www.mysql.com/doc/en/Nutshell_4.1_features.html
http://www.mysql.com/doc/en/News-4.1.x.html




The query is:




SELECT U.usu_id, U.usu_login

FROM cva_usuario U

WHERE NOT EXISTS (SELECT * FROM cva_grupo_usuario GU WHERE GU.usu_id=U

usu_id Where GU.gru_id=4)


--
Paul DuBois, MySQL Documentation Team
Madison, Wisconsin, USA
MySQL AB, www.mysql.com

MySQL Users Conference: April 14-16, 2004
http://www.mysql.com/uc2004/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to