Unknown column 'distinguida' in 'where clause'