apartment_lab_sql fixed 'where' --> 'WHERE'