Unknown column 'apertura1' in 'where clause'