尝试,
SQLFiddle演示SELECt userIDFROM tableNameWHERe (questionID = 14 AND answer = 'yes' ) OR (questionID = 54 AND answer <> 'empty') OR (questionid = 100 AND answer > 10)GROUP BY userIDHAVINg COUNT(*) = 3
欢迎分享,转载请注明来源:内存溢出
尝试,
SQLFiddle演示SELECt userIDFROM tableNameWHERe (questionID = 14 AND answer = 'yes' ) OR (questionID = 54 AND answer <> 'empty') OR (questionid = 100 AND answer > 10)GROUP BY userIDHAVINg COUNT(*) = 3
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)