标签: sql database
可能重复: Multiple OR Clauses in MySQL
您能想到一种更简短的方式来编写此查询:
SELECT * FROM table WHERE id = 1 OR id = 2 OR id = 5 OR (etc...)