Jump to content

Sorting By Number Of Entries


rmpotter

Recommended Posts

I am trying to display an SQL table where-in I have a field entitled 'categories'. Lets say I have 5 entries entitles 'cars', 3 entilted trucks and 6 entitled 'Buses'I am looking to sort this data out by category and have the category occurring most (buses) list it's info first and then list each other category by number of occurrences thereafter. Can anyone help?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...