I have a mysql table for our customers. It works alphabetically with last names, but not with firstnames, because they are in different columns.
Here is my code:
SELECT id, firstname, lastname, address From customers Order by lastname
This is the result now:
lastname | firstname | address <br>
Ford | Jhon | Dallas
Bush | Emil | Orlando (This should be after the next one [Brian])
Bush | Brian | Los Angeles
How could I have Lastnames + firstnames in order together?
As stated in the manual:
Therefore, in your case: