Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I hope your help!!!...
I want to select a date, and then calculate sum(Cantidad_Saldo), if (sum(Cantidad_Saldo)<>0, Only show records of the last date, nothing to show)....
If you could add some sample input and how your output should look like , it will be easier to help . Please elaborate a bit as your question is bit unclear.
Date | KARHORA | MVESUFIJO | VEHCHASIS | Cantidad_Saldo |
5/4/2018 00:00 | 12:26:15 | AA | JTMZF9EV1ED022040 | 1 |
31/7/2018 00:00 | 16:07:08 | AA | JTMZF9EV1ED022040 | -1 |
31/7/2018 00:00 | 21:47:49 | AA | JTMZF9EV1ED022040 | 1 |
4/2/2019 00:00 | 16:49:15 | AA | JTMZF9EV1ED022040 | -1 |
Date | KARHORA | MVESUFIJO | VEHCHASIS | Sum(Cantidad_Saldo) | Estado_Saldo |
31/7/2018 00:00 | 21:47:49 | AA | JTMZF9EV1ED022040 | 1 | Con Saldo |
5/4/2018 | 12:26:15 | AA | JTMZF9EV1ED022040 | 1 | Con Saldo |
4/2/2019 | 16:49 | AA | JTMZF9EV1ED022040 | 0 | Sin Saldo |