IN 操作符
IN 操作符允许我们在 WHERE 子句中规定多个值。
SQL IN 语法
SELECT column_name(s) FROM table_name WHERE column_name IN (value1,value2,...)
城市中的值是'London','Changan Street'的
mysql> SELECT * FROM Persons where City IN ('London','Changan Street');
+------+----------+-----------+---------------+----------------+
| Id_P | LastName | FirstName | Address | City |
+------+----------+-----------+---------------+----------------+
| 1 | Adams | John | Oxford Street | London |
| 3 | Bush | Carter | Thomas | Changan Street |
+------+----------+-----------+---------------+----------------+
2 rows in set (0.04 sec)