The Indexes will include NULL values which can affect query performance.
MySQL Handling NULL Values - GeeksforGeeks https://www.geeksforgeeks.org/mysql/mysql-handling-null-values/
NULL Values and Indexes
The NULL values can affect the indexing and query performance. Be mindful of how NULL values impact index creation and optimization.
Creating an Index with NULL Values
CREATE INDEX idx_salary ON employees(salary);
The Indexes will include NULL values which can affect query performance.