mysql - Updating multiple rows in one column in a database -


i have database data

enter image description here

i want edit column lab_no , add 0 (0) after 8 records... how can because records many. thank you

assuming records begin epi8, can this:

update [tablename] set lab_no = replace(lab_no, 'epi8', 'epi80'); 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -