Answer the question
In order to leave comments, you need to log in
How to group the same phone numbers recorded in different formats?
Hi, tell me how to solve the problem
there is a table with phone numbers but they are written in different formats, they need to be grouped and counted
+70000000000
70000000000
+7(000)0000000
can somehow be grouped by the last 7 characters for example?
Answer the question
In order to leave comments, you need to log in
SUBSTRING(phone, -3)
https://dev.mysql.com/doc/refman/8.0/en/string-fun...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question