Jump to content

order by last name and first name


dadamssg87

Recommended Posts

Is there a way in sql to order rows by a last name and then within the blocks of the same last name, by first name? For example,

 

Abe Adams

Corey Adams

Terry Alberts

 

Christi Baron

John Bellamie

Zachary Bellamie

 

Travis Mathews

Jon Morgan

 

 

You'll notice Adams and Bellamie both have two people and they then ordered by their first name.

Link to comment
https://forums.phpfreaks.com/topic/251839-order-by-last-name-and-first-name/
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.