nnuswantari
Programmer
I have query as bellow:
Can make this query so simple?
Code:
select a,b,
sum(iif(c=1 or c=3 or c=5 or c=8 or c=9 or c=12 or c=14,1,0)) as k3,
sum(iif(c=2 or c=3 or c=6 or c=7 or c=10 or c=11 or c=14 or c=15 or c=18,1,0)) as k4
from tabelA
group by a,b;
Can make this query so simple?