1. Set a primary key
This is the main cause. Click the table name, then Structure at the top, and you'll see all its columns. Find the ID column and click Primary (under More, in recent versions) to make it the primary key.
For WordPress tables, the ID column is the first one: option_id for wp_options, ID for wp_posts, comment_ID for wp_comments, and so on. If phpMyAdmin refuses because of duplicate values, the table has duplicated rows from the bad import, and you need to remove the duplicates first.