Hello people
I have a table that returns the following:
NUM_TOT B_ST
699 W
1240 X
20 Y
780 V
111 B
I need to run a query that will return the sums of NUM_TOT that are grouped by B_ST as follows:
W & X
Y & V
T
Is it possible or would I need to run a sp that will query the table three times?
Thanks
I have a table that returns the following:
NUM_TOT B_ST
699 W
1240 X
20 Y
780 V
111 B
I need to run a query that will return the sums of NUM_TOT that are grouped by B_ST as follows:
W & X
Y & V
T
Is it possible or would I need to run a sp that will query the table three times?
Thanks