delete from SCHOOL_CLASS where (NOME is null and ANO_CURRICULAR is null and KEY_EXECUTION_DEGREE is null and KEY_EXECUTION_PERIOD is null and DAY_PERIOD_TYPE is null and CAPACITY is null);

 
