I want to convert all my title names to a url alias using SQL query . currently im using sql REPLACE for replace "" (space) with "-" .
But i want to avoid all speacial charactors and spaces between words and convert the title names to aliases
Ex: A B & sons should be a-b-sons
This is my current query
UPDATE content SET alias = title,alias = LOWER(REPLACE(alias," ", "-"));
is there any option where i can add more speicifed for abocve query for get titles like above with special characters
Ex: A B & sons should be a-b-sons
Please advice