I have ONE column in MySQl table which contains words in this format:
Name – Name2 – Name3
and I’d like to delete Name2, and to leave just Name – Name3
So I just need to delete middle word, and not the entire column! The middle word is always the same.
Is that possible?
SQLFiddle example
substring-index doc