Loading…
REPLACE(string, old_substring, new_substring)
REPLACE('hello world', ' ', '-') -- 'hello-world'
REPLACE('(555) 123-4567', '-', '') -- '(555) 1234567'
Standardize phone numbers by removing formatting:
Only include leads with non-null phones. Order by id, limit to 10.
Hint: Chain multiple REPLACE calls.
Downloading SQL engine… (one-time)
This runs entirely in your browser and is cached for next time.