Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

BD

Language: Layout:
- ] Show input
Absolute running time: 0.36 sec, cpu time: 0.25 sec, memory peak: 7 Mb, absolute service time: 0,48 sec 
edit mode |  history  | discussion
select mercado, industria,  count(*)/(select count(*) from balances) as proba from balances where mercado in (select disticnt mercado from balances) and industria in (select distinct industria from balances) group by mercado,industria

    
                
λ
.NET NoSQL database for rapid development