DI
Скорее всего ssisdb
Size: a a a
DI
TS
А
DI
А
TS
TS
TS
TS
А
TS
DI
А
N
ДМ
select customer_id, create_date,Подскажите, как мне получить count в таблице, мне нужно, чтобы на каждого группу customer, create_date считалось индивидуально число count.
(select distinct on(loan_id) count(loan_id) from loans.finstat f where customer_id = f.customer_id and create_date < f.create_date group by loan_id)
from loans.finstat f
group by customer_id, create_date
ДМ