Ver originalSELECT trabajador, SUM(IF(incidencia>=, 1, 0)) IncidenciasFROM trabajadoresGROUP BY trabajador;