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