I have a table in MySQL with 30 columns and thousands of entries. Is there a way I could make every row unique, that means if a row already exists, I should not be able to e
You can make a unique index that includes all of the columns in your table
ALTER TABLE buyers ADD UNIQUE idx_row_unique(first_name,last_name,...);
This way you can keep a unique AUTO INCREMENT primary key for join purposes, while still ensuring that all of the data in your table is unique.
AUTO INCREMENT