I'm running mysql 4.0.16 on XP trying to do both or either of these queries from the mysql manual:
SELECT s1 FROM t1 WHERE s1 = ANY (SELECT s1 FROM t2);
SELECT s1 FROM t1 WHERE s1 IN (SELECT s1 FROM t2);
however I get a syntax error with the query in the brackets. Anyone know why?
SELECT s1 FROM t1 WHERE s1 = ANY (SELECT s1 FROM t2);
SELECT s1 FROM t1 WHERE s1 IN (SELECT s1 FROM t2);
however I get a syntax error with the query in the brackets. Anyone know why?