I have a database with 3 columns:
id, name, somethingelse
This table has no index set and i am getting \"No index defined!\" in phpmyadmin
alter table table_name add constraint myprimarykey primary key(column);
reference : http://www.w3schools.com/sql/sql_primarykey.asp