# MySQL の IN() の制限 [MySQL :: MySQL 8.0 Reference Manual :: 14.4.2 Comparison Functions and Operators](https://dev.mysql.com/doc/refman/8.0/en/comparison-operators.html#operator_in:~:text=The%20number%20of%20values%20in%20the%20IN()%20list%20is%20only%20limited%20by%20the%20max_allowed_packet%20value.) > The number of values in the `IN()` list is only limited by the [`max_allowed_packet`](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_allowed_packet) value.