[snip]
ANSI SQL has the WHERE key IN (value1, value2, ...)

MySQL doesn't seem to support this.
Is this a faulty assumption, or am i stuck with WHERE key = value1 OR 
key = value2 ...
[/snip]

It is a faulty assumption, see
http://dev.mysql.com/doc/mysql/en/comparison-operators.html

SELECT stuff FROM table
WHERE this IN (value1, value2, ...)

works just fine

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to