MySQL Error : ( Error Code : 1054 ) Unknown column 'M' in 'where clause'