- Oct 9, 1999
- 4,998
- 0
- 0
i can't figure it out, it looks simple enough:
Error
SQL-query :
SELECT a.num
FROM surveys a
WHERE a.num
IN (
SELECT b.num
FROM surveys b
)
LIMIT 0 , 30
MySQL said:
#1064 - 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 b.num
FROM surveys b ) LIMIT 0, 30' at line 5
Error
SQL-query :
SELECT a.num
FROM surveys a
WHERE a.num
IN (
SELECT b.num
FROM surveys b
)
LIMIT 0 , 30
MySQL said:
#1064 - 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 b.num
FROM surveys b ) LIMIT 0, 30' at line 5