1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
select m.d_date_debut as "Date de début",
m.d_date_fin as "Date de fin",
c.c_client as "Code RCC", c.l_client as "Libellé RCC",
f.indi_pur_adm,
f.indi_resident,
count(f.acti_iden) as "Volume"
from fac_reg_soldes f, client c, fac_periode_soldes m
where c.c_id_client = f.c_id_client
and f.c_id_client = 363
-- Conditions variables
and f.indi_pur_adm = 'P'
and indi_issu_paga = 'N'
and indi_issu_so = 'N'
and f.soaa_quan <> 0
group by c.c_client, c.l_client, f.INDI_PUR_ADM,f.indi_resident, m.d_date_debut, m.d_date_fin, f.acti_iden, f.VALE_IDEN |
Partager