用字符串替换撇号

map*_*dom 1 postgresql

如何替换'字符串中的单个撇号,即;

把国王的林恩变成国王林恩

就像是

select replace ('King's lynn',''','')

尝试''\'但没有逃脱

Clo*_*eto 6

美元报价使其更容易:

replace ($$King's lynn$$, $$'$$, '')
Run Code Online (Sandbox Code Playgroud)