Created
October 26, 2017 19:21
-
-
Save MarioCares/024372abf0944a8ceaacd9fc50c39a65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT l.rut, l.dv, l.nombres, l.tipo_calculo AS calidad, l.centro_costo, l.cargo, l.docente, l.lugar_desempenio | |
FROM rrhh_licencia AS rl | |
INNER JOIN liquidaciones AS l ON l.rut = rl.usuario_id | |
WHERE rl.estado != 'ELIMINADO' AND DATE_FORMAT(rl.inicio_at, '%Y-%m') = '2017-09' AND l.area = 'EDUCACION' AND l.aniomes = 201709 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment