我有一个看起来像这样的 MySQL 查询:
SELECT column1_value, column2_value
FROM some_table
WHERE column2_value IN (a,lot,of,comma,separated,values)
AND column1_value NOT IN (SELECT column1_value,
column3_value
FROM some_table
WHERE column3_value = some_number)
ORDER BY something DESC
LIMIT 4
但是一直报错,怎么回事?
我不能做 IN 然后不 IN 吗?
提前致谢