Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. SELECT codigo_empleado, SUM(monto_pago) FROM pagos WHERE MONTH(fecha_pago)=9 AND YEAR(fecha_pago)=2017 AND codigo_empleado in (SELECT DISTINCT(codigo_empleado) FROM pagos);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement