I need to select all the values where a single column matches multiple values. At one point I saw something like the following but it is not working for me. Is this correct or do I need to link these values with AND?
SELECT * FROM MYTABLE WHERE AGE = ( 20, 21, 22 )
Also im doing this in a php script and getting my values in an http post so if anyone can point me in the direction of a good example that would be great. THanks!
You need to use
INand it is the same as