mysql combined unique keys
问题 Is there way in MySQL to have two unique keys and connect them somehow? for example if i have the following table and 'title'and 'store' are a unique keys id | category | title | price | store 1 | outdoors | fishing rod | 59.99 | wal-mart 2 | auto | Penzoil Oil | 9.99 | target and i try to insert the following record. This new record would be ignored because the title is "fishing rod" AND the store is 'wal-mart' and there is an existing record with that title and store | outdoors | fishing