HI,
I was ask to do a query to get the member active condition
I had table to show the member number and active status in three
month.
ACC A1 A2 A3
---- ----------- ----------- -----------
c001 1 1 1
c002 1 1 1
c003 1 1 0
c004 1 1 0
c005 1 0 0
c006 1 0 1
the analyser request following data
Sample like:
Jan 6 active memeber
Feb 4 active member 2 inactive member
Mar (2 active memeber + 2 inactive memeber under Feb 60 active
member ) (1 active memeber+1 inactive memeber under Feb 40 inactive
member)
Is there any way to do that?
I could use similar query "select a1,a2,a3 ,count(acc) group by
a1,a2,a3 to get the each level info" but how to conbine each level
info into tree info?
Thanks.
I was ask to do a query to get the member active condition
I had table to show the member number and active status in three
month.
ACC A1 A2 A3
---- ----------- ----------- -----------
c001 1 1 1
c002 1 1 1
c003 1 1 0
c004 1 1 0
c005 1 0 0
c006 1 0 1
the analyser request following data
Sample like:
Jan 6 active memeber
Feb 4 active member 2 inactive member
Mar (2 active memeber + 2 inactive memeber under Feb 60 active
member ) (1 active memeber+1 inactive memeber under Feb 40 inactive
member)
Is there any way to do that?
I could use similar query "select a1,a2,a3 ,count(acc) group by
a1,a2,a3 to get the each level info" but how to conbine each level
info into tree info?
Thanks.
Comment