I\'ve got a very large MySQL table with about 150,000 rows of data. Currently, when I try and run
SELECT * FROM table WHERE id = \'1\';
the
ALTER TABLE `table` ADD INDEX `product_id_index` (`product_id`)
Never compare integer to strings in MySQL. If id is int, remove the quotes.
integer
strings
id
int