sql server order by alphabetical code example
Example: how to sort names in alphabetical order in sql
SELECT id,
first_name,
last_name,
FROM customer
ORDER BY last_name ASC;
SELECT id,
first_name,
last_name,
FROM customer
ORDER BY last_name ASC;