Use the CSUM function
Select something,csum((1),what_ever desc)as csummed_value from some_table where csummed_value >6 ;
Attachments
Library
Quick Reference
Archives
Sample Index
2003 Indexes