Fun at zangOOr Click Here
0 like 0 dislike
100 views
in Education & Reference by (950 points) | 100 views

1 Answer

0 like 0 dislike
SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(column,':',1),'-',-1) FROM table name;

Table Name: Product
-----------------------------------
item_code  name    code
-----------------------------------
1        ball     abc-xyz:[email protected]
OUTPUT

xyz
by

Related questions

2 like 0 dislike
1 answer
2 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Aug 1, 2017 in Education & Reference by Krish (790 points) | 348 views
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,245 questions
1,400 answers
565 comments
4,809 users