Fetch Records from Mysql By Splicting the value of the column "122-362-25-36" -
fetch records mysql splicting value of column "122-362-25-36": remove (-) sign , search records in table containing value 122-362-25-36 => 1223622536 125-365-36-56 => 1253653656 , search sql query
it's not clear exact question per got think solution should be:-
select * table id in (select replace('122-362-25-36','-','') id);
Comments
Post a Comment