Is there a option to alter my table to gather the required functionality ?
My Table has id(int), pal_id(varchar,50) ... At this time id is autoincremented as unique and key, but i need also to make pal_id to be auto incremented, but the field values has a prefix ex: PAL0001
I have tried the solution from How to make MySQL table primary key auto increment with some prefix but it doesnt work for me.