Jump to content

Query help - alphabetical


KevinM1

Recommended Posts

I was wondering how I'd go about selecting and counting database entries based on how their titles are arranged alphabetically, and how to obtain the count for all the entries associated with a particular letter.  The results I'm trying to get should look something like:

 

A (15)

B (2)

C (9)

etc.

 

None of the built-in string functions jump out at me, at least not in a way that I could use them in a select query.

Link to comment
https://forums.phpfreaks.com/topic/201417-query-help-alphabetical/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.