beginnerboy
Technical User
Hi
I have a table like this
state sales
oh 200.00
DE 700.00
NJ 800.00
NJ 500.00
NY 2000.00
IN 100.00
.. ....
I need to get the results like
state sale
NJ 1300
NY 2000
other 1000
I need to show top five states with high sales record and sales of other remaining states as one group. There must be six groups only.
I have a table like this
state sales
oh 200.00
DE 700.00
NJ 800.00
NJ 500.00
NY 2000.00
IN 100.00
.. ....
I need to get the results like
state sale
NJ 1300
NY 2000
other 1000
I need to show top five states with high sales record and sales of other remaining states as one group. There must be six groups only.