Unknown column 'apertura3' in 'where clause'