SQL commands
Order By Order By clause used to retrieve the records in a sorted order. Syntax: Select < Fields Name> from < Table Name > order by < Field Name> Example: Select * from Employee order by EmployeeName; Here * indicate all the Fields if user wants to show only specific fields than in the below query you have to mention the name of the fields Example: Select Address, Age from Employee order by EmployeeName; By Default it shows the records in the Ascending order. Group […]