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