I am using mysql 5.6 and want to remove all characters from json output of db column and after that required sum of numeric values
Input:
{"across_back":"0","bustd":"0","waiscvvt":"50","hisdp":"50","neckdf":"0","thiddgh":"0"}
{"shoulder":"0","bustfd":"10","waisdsdt":"40","sdhip":"10","nsdfeck":"0","thigfsdh":"0"}
{"back":"0","bust":"40","waist":"35","sdfhip":"22","necsdk":"10","thigh":"0"}
Output:
0+0+0+50+0+0 = 50
0+10+40+10+0+0 = 60
0+40+35+22+10+0 107
Best Answer