FTP | CCD | Buscar | Trucos | Trabajo | Foros |
#1
|
|||
|
|||
Uso del Case
Hola a todos
Utilizo firebird 1.53 ahora deseo utilizar la funcion CASE pero con un SUM me da un error en el group By Ejemplo Select key_caja, Case when (tp=1) then sum(debe*-1) End Haber , Case when (tp=1) then sum(debe*1) End Debe From caja Group by key_caja Me podrian echar una mano
__________________
IVAND |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Case Anidados ¿Se puede? | jam888 | MS SQL Server | 5 | 31-01-2006 14:39:38 |
Case con Expresiones Complejas | Jvilomar | OOP | 15 | 03-10-2005 15:26:21 |
Ayuda con CASE | YaninaGenia | Varios | 2 | 26-06-2005 12:40:39 |
Incluir un IF dentro de un CASE | Javi2 | SQL | 1 | 21-04-2005 11:59:31 |
Ejemplo Select Case | osmar | Firebird e Interbase | 4 | 21-02-2005 18:18:57 |
|