Create unique_index combine multiple columns in MySQL October 17, 2016ITmysqlcceye Liu ALTER TABLE `votes` ADD UNIQUE `unique_index`(`user`, `email`, `address`);