bonjour a tous
moi j'ai ces deux query:
1:
2:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 SELECT count(num_prat) FROM Report_Costi.DETTAGLIO_SDO D where anno='2007' and disciplina not in ('06', '07', '09', '10', '11', '12', '13', '14', '30', '34', '35', '36', '38', '43', '76', '78') and intervento not like '985%' and cat_0 like 'ORD%' and drg_tipo <> '470' ;
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 SELECT count(num_prat) FROM Report_Costi.DETTAGLIO_SDO D where anno='2007' and disciplina not in ('06', '07', '09', '10', '11', '12', '13', '14', '30', '34', '35', '36', '38', '43', '76', '78') and intervento not like '985%' and drg_tipo like 'M' and cat_0 like 'ORD%';
moi je voudrais faire une seule query qui fais
(query2/query1) * 100
comment on peut faire?
merci a tous
Partager