Re: Simple task: Works in mysql 5 but not in 4.0.15
Hey Goks Goks
I have had similar problems... subqueries were introduced in version 4.1 - that is why your query fails in 4.0. You will need to rewrite it with a join;
SELECT m.name FROM members m LEFT JOIN relation r ON m.mid = r.mid
WHERE r.gid = 1
Hope this helps.
Aaron
Subject
Written By
Posted
Re: Simple task: Works in mysql 5 but not in 4.0.15
August 17, 2005 10:28AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.