Answer the question
In order to leave comments, you need to log in
How to find start date of loan delinquency sql?
I have a table in this format:
Date Customer Deal Currency Sum
12.12.2019 111110 111111 RUR 12000
25.12.2019 111110 111111 RUR 5000
12.12.2019 111110 122222 RUR 10000
12.01.2020 111110 111111 RUR -10100
20.11.2019 220000 222221 RUR 25000
20.12.2019 220000 222221 RUR -25000
21.12.2019 220000 222221 RUR 20000
29.12.2019 111110 122222 RUR -10000
select deal, sum(payment_sum) as "Невыпл_сум" from pdcl
having sum(payment_sum) > 0
group by deal
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question