472,135 Members | 1,214 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,135 software developers and data experts.

Subqueries not working

Been banging my head against the wall with subqueries. Even simple stuff
like this fails:

SELECT CompanyName FROM tblcompanies
WHERE CompanyName IN (SELECT HostName FROM tblhosts)

Am I missing something blindingly obvious, or is MySQL just playing silly
buggers?

Running v 4.0.18 btw on Windows Server 2003

Any help would be appreciated...

Thanks,

Pete
Jul 19 '05 #1
6 1684
pete wrote:
Been banging my head against the wall with subqueries. Even simple stuff
like this fails: Running v 4.0.18 btw on Windows Server 2003


Subqueries are supported from version >= 4.1

http://www.mysql.com/doc/en/ANSI_diff_Subqueries.html
Jul 19 '05 #2
pete wrote:
Been banging my head against the wall with subqueries. Even simple stuff
like this fails: Running v 4.0.18 btw on Windows Server 2003


Subqueries are supported from version >= 4.1

http://www.mysql.com/doc/en/ANSI_diff_Subqueries.html
Jul 19 '05 #3
pete wrote:
Been banging my head against the wall with subqueries. Even simple stuff
like this fails: Running v 4.0.18 btw on Windows Server 2003


Subqueries are supported from version >= 4.1

http://www.mysql.com/doc/en/ANSI_diff_Subqueries.html
Jul 19 '05 #4

"Aggro" <sp**********@yahoo.com> wrote in message
news:Kw***************@read3.inet.fi...
pete wrote:
Subqueries are supported from version >= 4.1

http://www.mysql.com/doc/en/ANSI_diff_Subqueries.html


Damn. 4.1 is still in alpha too. Can't afford to be running a mission
critical app on alpha software :-(

Thanks for the heads-up.

Pete
Jul 19 '05 #5

"Aggro" <sp**********@yahoo.com> wrote in message
news:Kw***************@read3.inet.fi...
pete wrote:
Subqueries are supported from version >= 4.1

http://www.mysql.com/doc/en/ANSI_diff_Subqueries.html


Damn. 4.1 is still in alpha too. Can't afford to be running a mission
critical app on alpha software :-(

Thanks for the heads-up.

Pete
Jul 19 '05 #6

"Aggro" <sp**********@yahoo.com> wrote in message
news:Kw***************@read3.inet.fi...
pete wrote:
Subqueries are supported from version >= 4.1

http://www.mysql.com/doc/en/ANSI_diff_Subqueries.html


Damn. 4.1 is still in alpha too. Can't afford to be running a mission
critical app on alpha software :-(

Thanks for the heads-up.

Pete
Jul 19 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Daniel Elliott | last post: by
2 posts views Thread by Kevin | last post: by
2 posts views Thread by orin | last post: by
debasisdas
reply views Thread by debasisdas | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.