Sql Query to retrieve data using Order By in Ascending Order


To retrieve a record in ascending order from the existing created table. Then we can use an ' ORDER BY ' Clause with ASC Attribute.

Enter - Select * from table_name;
SQL Query
SELECT first_name FROM employees ORDER BY first_name ASC;
Output