How do I delete the first 3 characters in mysql? -
How do I delete the first 3 characters in mysql? -
how might tell mysql to..
delete first 3 characters mytable.title first 3 characters numbers 01-10 followed space?
example..
delete record in 'title' column looks this:
01 california 09 texas 10 idaho leave records lone don't start number , space (such these):
california texas idaho i have several one thousand records want remove these preceding numbers from. thoughts?
update my_table set title=substring(title, 4) title regexp '^[0-9][0-9] ';
mysql
Comments
Post a Comment