Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. select ROW_NUMBER() OVER (ORDER BY p.CodPersona) AS Numero,
  2. ccc.Descripcion AS Curso,
  3. p.CodPersona AS Codigo,
  4. p.NombreCompleto AS NombreAlumno,
  5. cc.Detalle AS Detalle,
  6. SUM(cc.Valor) AS Valor
  7.  
  8. where cc.Detalle is not null
  9. and cc.Valor != 0.00
  10.  
  11. group by cc.Detalle,
  12. ccc.Descripcion,
  13. p.CodPersona,
  14. p.NombreCompleto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement