my code stock.com

marcus.sacramento

QR RESUMO DIARIO BACKLOG REABERTOS
by marcus.sacramento

Snippet options

Download: Download snippet as qr-resumo-diario-backlog-reabertos.sql.
Copy snippet: For this you need a free my code stock.com account.
Embed code : You will find the embed code for this snippet at the end of the page, if you want to embed it into a website or a blog!

select 'CLARIFY', count(c1) from [email protected] where 
 C536870990 in(
                                                             'OPERACAO_INV_ESCALONA_CLY_FIXA',
                                                             'OPERACAO_INV_MIGRA_CLY_FIXA',
                                                             'OPERACAO_INV_N1_BDWEB_FIXA',
                                                             'OPERACAO_INV_N1_CLY_FIXA',
                                                             'OPERACAO_INV_N1_CLY_GSM',
                                                             'OPERACAO_INV_N1_GECO',
                                                             'OPERACAO_INV_N2_CLY_GSM',
                                                             'OPERACAO_INV_N2_GENEVA',
                                                             'OPERACAO_INV_N2_MICROSIGA_GSM',
                                                             'OPERACAO_INV_PORTAB_ESCALONA_FIXA',
                                                             'OPERACAO_INV_PORTAB_FIXA',
                                                             'OPERACAO_INV_PORTAB_GSM',
                                                             'OPERACAO_INV_PORTAB_PROCON_FIXA',
                                                             'OPERACAO_INV_PORTAB_PROCON_GSM',
                                                             'OPERACAO_INV_PROCON_CLY_FIXA',
                                                             'OPERACAO_INV_PROCON_CLY_GSM')
AND C536870990 NOT LIKE '%PROB%'
AND c7 < 7
AND C536871432 is not null
UNION
select 'SAC', count(c1) from [email protected] where 
 C536870990 in(
                                                                'OPERACAO_INV_ESCALONA_SAC_FIXA',
                                                                'OPERACAO_INV_N1_SAC_FIXA',
                                                                'OPERACAO_INV_N2_SAC_FIXA',
                                                                'OPERACAO_INV_N2_SAC_GSM',
                                                                'OPERACAO_INV_PROCON_SAC_FIXA',
                                                                'SUPORTE_OUVIDORIA_SAC')
AND C536870990 NOT LIKE '%PROB%'
AND c7 < 7
AND C536871432 is not null
UNION
select 'EAI', count(c1) from [email protected] where 
 C536870990 in(
                                                                'OPERACAO_INV_ESCALONA_EAI_FIXA'
                                                                ,'OPERACAO_INV_N1_EAI')
AND C536870990 NOT LIKE '%PROB%'
AND c7 < 7
AND C536871432 is not null

Create a free my code stock.com account now.

my code stok.com is a free service, which allows you to save and manage code snippes of any kind and programming language. We provide many advantages for your daily work with code-snippets, also for your teamwork. Give it a try!

Find out more and register now

You can customize the height of iFrame-Codes as needed! You can find more infos in our API Reference for iframe Embeds.