PostgreSQLではINとORを比較するとINの方が高速。INで書けるならINで書きましょう。他のRDBMSだとどうだろうか。
---
Query best practices: When should you use the IN instead of the OR operator? | OtterTune
https://ottertune.com/blog/query-best-practices-when-should-you-use-the-in-instead-of-the-or-operator
#bookmarks