mysql changing unique key to primary (mariadb)
问题 I have my table users: +--------------------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +--------------------+--------------+------+-----+---------+-------+ | userid | varchar(30) | YES | | NULL | | | lname | varchar(40) | YES | | NULL | | | fname | varchar(20) | YES | | NULL | | | system_id | varchar(12) | YES | | NULL | | +--------------------+--------------+------+-----+---------+-------+ and I want to change the system_id and the userid