How can we remove dashes from phone numbers?
REPLACE(str, search, replacement) substitutes all occurrences of a substring with a target string.
Phone number normalization, replacing special characters, scrubbing delimiters.
SELECT
REPLACE(phone, '-', '') AS normalized_phone
FROM employees;Practice typing production-grade SQL code for REPLACE.