Check the value of A field in the table B 0. 000-000-0000 of ABC - and the second. The data in the middle of the SQL statement how to write
CodePudding user response:
SELECT SUBSTRING_INDEX (SUBSTRING_INDEX (' 000-000-0000 0. ABC ', '. ', 1), '-', 1);
CodePudding user response: