If I have the contents of a field in my database as an integer that could take the values from 1-5 How do I query the database to tell me the frequency of each integer, such as:
value - frequency
1 - 5
2 - 0
3 - 24
4 - 2
5 - 1

I'm sql retarded. Can someone give me a direction?
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to