hello to all
Here is a sample from a table... (* sorry, but I can't get the TGML to show the tables properly??? I'm using tt and /tt in square brackets)
[tt]
Row DataVal
1 7
2 2
3 8
4 -2
5 -3
6 -4
7 -8
8 4
9 5
10 -6
11 -7
12 3
13 6
14 -5[/tt]
I need help writing a query to a) Group DataVal by SIGN (there are no values = 0), then b) COUNT the number of records in each group.
The output should show the 1st row numberof each group, and the COUNT of each group. Here's what the output would look like...
[tt]
Grp1stRow GrpCount
1 3
4 4
8 2
10 2
12 2
14 1
[/tt]
Thanks for any clues
Vicky
Here is a sample from a table... (* sorry, but I can't get the TGML to show the tables properly??? I'm using tt and /tt in square brackets)
[tt]
Row DataVal
1 7
2 2
3 8
4 -2
5 -3
6 -4
7 -8
8 4
9 5
10 -6
11 -7
12 3
13 6
14 -5[/tt]
I need help writing a query to a) Group DataVal by SIGN (there are no values = 0), then b) COUNT the number of records in each group.
The output should show the 1st row numberof each group, and the COUNT of each group. Here's what the output would look like...
[tt]
Grp1stRow GrpCount
1 3
4 4
8 2
10 2
12 2
14 1
[/tt]
Thanks for any clues
Vicky