11 lines
499 B
SQL
11 lines
499 B
SQL
/* Numero totale di richieste Recipient MVNO in ritardo di espletamento */
|
|
SELECT COUNT (*), gr.codice_operatore_donating AS operatore_donor,
|
|
gr.operatore_interno AS operatore_recipient
|
|
FROM mnp_gestione_richiesta_rec gr, mnp_operatore_interno oi
|
|
WHERE gr.operatore_interno(+) = oi.nome_operatore
|
|
AND oi.tipologia_operatore = 'MVNO'
|
|
AND gr.stato IN (8, 10, 11)
|
|
AND gr.data_cut_over_aom < TRUNC (SYSDATE)
|
|
GROUP BY gr.operatore_interno, gr.codice_operatore_donating;
|
|
|