Hello,
I'm learning about MySQL but i'm having problems with the 'IN'
operator. For example:
SELECT * FROM TABLE_NAME WHERE ID = IN ('9','19','3',' 10');
....gives me a syntax error. I've also tried it with (9,19,3,10) but it
gives me the same problem.
I have a feeling i'm missing something very simple.
Any pointers would be greatly appreciated.
Many Thanks.
I'm learning about MySQL but i'm having problems with the 'IN'
operator. For example:
SELECT * FROM TABLE_NAME WHERE ID = IN ('9','19','3',' 10');
....gives me a syntax error. I've also tried it with (9,19,3,10) but it
gives me the same problem.
I have a feeling i'm missing something very simple.
Any pointers would be greatly appreciated.
Many Thanks.
Comment