I tried to create a table as following in phpmyadmin. But it gives this error:
"#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key"
create table itemList (
uid varchar(15),
item_Id int AUTO_INCREMENT,
item_Name varchar(50) not null,
PRIMARY key (uid, item_Id)
);
Someone please help me.