Is there any syntax query in mysql phpmyadmin to trim alphanumeric(varchar) data? Here's how I want it to happen:
In my table i have two fields id(int) and promocode(varchar)(25), inside my promocode column I have this sample data BEFKR679GKQTX46AFKP14VY composed of (25) ...and i want it to trim the first 12 alphanumeric only, making it look like these BEFKR679GKQT.. and I don't know how to change the existing 1,000 inputted data in my table.. into all 12 not 25.