ALTER TABLE `table` ADD INDEX `product_id_index` (`product_id`)
Sammenlign aldrig integer til strings i MySQL. Hvis id er int , fjern anførselstegnene.
ALTER TABLE `table` ADD INDEX `product_id_index` (`product_id`)
Sammenlign aldrig integer til strings i MySQL. Hvis id er int , fjern anførselstegnene.