I am programming a script in php and I have created the following query:
SELECT t2.id_usuario, t3.nombre, to_char(t1.fichaje_fecha, 'YYYY-MM') AS mes
,SUM(CASE WHEN t1.operacion = '+' THEN t1.tiempo ELSE '00:00:00' END ) AS "positivo"
,SUM(CAS...
asked by
24.03.2017 / 17:43