0
我不能在這裏找到什麼問題,爲什麼我得到的#1241的錯誤 - 操作數應包含1列(S)#1241 - 操作數應包含1列(S)
SELECT COUNT(*) FROM `User` `t`
INNER JOIN
(
SELECT cv.relatedId
FROM CustomValue cv
WHERE (cv.customFieldId=9 AND (cv.fieldValue = '1')) OR
(cv.customFieldId=8 AND (cv.fieldValue = '1'))
GROUP BY cv.relatedId
HAVING count(*) > 1
) tblcv
ON tblcv.relatedId = t.id
WHERE (firstName LIKE '%Jea%') AND (keywords like 52,53,54)
可能的重複[錯誤#1241 - 操作數應包含1列(s)在MySQL中](http://stackoverflow.com/questions/16945867/error-1241-operand-should-contain-1-columns-in -mysql) – MusicLovingIndianGirl
'像52,53,54'這樣的關鍵字?你是不是想用'in'代替? – Phil