10 - Arranging or Sorting the table in Ascending or Descending order(Order by)

 

ORIGINAL TABLE GENERATED




Arrange or Sort the table in Ascending  order

select*from employees  order by  salary asc;





Arrange or Sort the table in  Descending order

select*from employees  order by  salary desc;



Comments

Popular posts from this blog

5 - DML commands used in MySQL WorkBench

INDEX OF Zeek MySQL

4 - DDL commands used in MySQL Workbench