-7
SELECT *
FROM ItemTable
WHERE item_link not in 'http://foo.com',  'http://bar.com'

它抛出错误..

4

2 回答 2

3

in requires parenthesis:

in (...)
于 2013-06-01T12:06:51.897 回答
1

You missed the () after IN

SELECT * FROM ItemTable 
WHERE item_link not in ('value1', 'value2')
于 2013-06-01T12:07:02.397 回答