In mysql database, I have a column named runs
of varchar type in one table. Different rows consists of "FOUR","SIX","BYES",etc in runs column. Now I want to sum this runs
column. so these ("FOUR","SIX",etc except "BYES") should convert into (4,6) of int data type.
Is there any function to make assume these string as integers and sum them to give a total. Please anyone help me?