79335389

Date: 2025-01-07 09:03:11
Score: 3.5
Natty:
Report link

How to replace the first match from the left head?

For example,

UPDATE `medal` 
  SET `picture` = REPLACE(`picture`, 'https://img.xxx.com/', 'https://res.xxx.com/')
WHERE `picture` LIKE 'https://img.xxx.com/%'
;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Edward-Lee-简放视野