Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding the most occuring number 1

Status
Not open for further replies.

CzechNET

Programmer
Nov 2, 2004
28
0
0
CA
I have a table that looks like this

tbl_name
-------
ID
fldCATE
fldSOME

and I need to find out what's the most occurring fldCATE value (it's an integer btw)no matter the rest, so say if value 5 is there 60 times while value 1 is there only 25 times, the value 5 should be returned. Any ideas ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top