I've a feeling that I should know the answer to this, but after a long day of work my brain isn't working as fast as it should.
I've a database of surnames and want to select the 10 most common. Can this be done with one query or will I have to do some post fetch array sorting?
Of course I know it can be done by the latter method but having mysql do it seems the preferable way.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks