Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple subquery produces problems

Status
Not open for further replies.

annih

Programmer
Jul 11, 2005
2
Hello.

This is my query:
Code:
SELECT COUNT(*) FROM forenbeitraege WHERE ftid IN (SELECT ftid FROM forenthreads WHERE editordatum <= 1105572405);

I always get the message, that the whole subquery would contain an error:
Code:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT ftid FROM forenthreads WHERE editordatum <= 1105572405)'

Could you tell me how i can make it work? Or what's even more interesting: Why the **** doesn't it work? Thanks a lot and sorry for my bad English. ;)
 
Hm... nervermind. These idiots that are hosting the HTTP-server still use MySQL 4.0 -.-

I should change my provider...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top