Possible Duplicate:
MySQL query finding values in a comma separated string
I have a strange problem, that I hope you guys can answer for me. If i use g.questions (which is a commaseperated varchar list), this only outputs the first id. But if I manually types in "1,2,3,4" instead of g.questions, I get what I expect...
What's going on? :-)
SELECT q.id FROM `questions` q
LEFT OUTER JOIN `game` g
ON g.id = 1
WHERE q.id IN (g.questions)