[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
select statement in another select
Hi,
I tried an SQL code that uses a select statement
inside another but I got null as a result. I tried the
same code with the same tables in other database
engines and it worked fine. What is wrong?
My code is like that:
select * from tableOne
where fieldOne IN (select fieldTwo from tableTwo)
Eduardo
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
---------------------------------------------------------------------
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 <mysql-thread90283@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
This mailing list archive is a service of Copilot Consulting.