-2

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

Alex C
  • 516
  • 7
  • 15

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
  • 28,155
  • 10
  • 49
  • 57