Check sibling questions

This question asked in CBSE SQP-2020

Which clause is used to sort the records of a table?

 

Answer:

The ORDER BY clause is used to sort the records of a table.

Syntax: SELECT column1 , column2, ...

      FROM table_name

      ORDER BY column1, column2, ... ASC | DESC ;

 

Example:

Question 1 Very short- image 5.jpg

Question 1 Very short- image 4.jpg

Are ads bothering you?


Transcript

This question asked in CBSE SQP-2020 Which clause is used to sort the records of a table? Answer: The ORDER BY clause is used to sort the records of a table. Syntax: SELECT column1, column2, ... FROM table_name ORDER BY column1, column2, ... ASC|DESC; Example:

Davneet Singh's photo - Teacher, Engineer, Marketer

Made by

Davneet Singh

Davneet Singh is a graduate from Indian Institute of Technology, Kanpur. He has been teaching from the past 12 years. He provides courses for Maths and Science at Teachoo.