|
pl sql SUM CASE COUNT
|
|||
---|---|---|---|
#18+
Добрый день! Как можно использовать конструкцию SUM : У меня есть COUNT(); //a=месяц(январь-1, февраль-2 и т.д) //b=условие 1 //с=условие 2 //COUNT(case when b=2 and c=3 then 1 end )IVAN, //COUNT(case when b=3 and c=4 then 1 end )PETR SUM(case when a=1 /*COUNT(case when b=2 and c=3 then 1 end )IVAN*/then 1 end) January; ... |
|||
:
Нравится:
Не нравится:
|
|||
01.04.2019, 16:30 |
|
|
start [/forum/topic.php?fid=47&msg=39794694&tid=1829216]: |
0ms |
get settings: |
6ms |
get forum list: |
11ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
148ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
33ms |
get tp. blocked users: |
2ms |
others: | 359ms |
total: | 578ms |
0 / 0 |