-2

So my table is https://imgur.com/a/1lfDdB9. I want to update the name column so that it removes the Telefon mobil part(to look like the first row).

Alex C
  • 488
  • 6
  • 13

1 Answers1

2

Use REPLACE function, to replace the specific substring with an alternate substring in the name field:

UPDATE table_name 
SET name = REPLACE(name, 'Telefon mobil ', '');
Madhur Bhaiya
  • 27,326
  • 10
  • 44
  • 54