Ver originalSELECT ROUND( AVG( REPLACE( SUBSTRING( fechahora_ingreso, 12, 5 ) , ':', '' ) ) ) AS promedio