Unknown column 'heat' in 'where clause'