Hello i am curently trying to set up a data base in MYSQL and i want to have my Varchar element as the Primary Key but it always gives me an error like this:
Invalid use of NULL value
the command i am using is:
ALTER TABLE temp_keys ADD PRIMARY KEY (temp_key);
and here is how the table is set up:
I hope that some one of you can help me with this.