Unknown column 'CV' in 'where clause'