Database - Introduction to SQL - Discussion

Discussion :: Introduction to SQL - General Questions (Q.No.26)

26. 

Which one of the following sorts rows in SQL?

[A]. SORT BY
[B]. ALIGN BY
[C]. ORDER BY
[D]. GROUP BY

Answer: Option C

Explanation:

No answer description available for this question.

Jaywant said: (Oct 15, 2011)  
Order by: asc or dsc.

Group by: by group.

Tibin said: (Jan 26, 2012)  
Then what s the use of sort by?

A Mruthunjay said: (Jan 31, 2014)  
ORDER BY keyword is used to sort the result-set by one or more columns.

A Mruthyanjay said: (Jan 31, 2014)  
There is no keyword in SQL as SORT BY.

Ibrahim said: (Jan 16, 2015)  
Please give example on ORDER BY.

Abhinav Raj said: (Sep 29, 2015)  
Select * from table_name order by column_name decrease;

Pooja said: (Nov 2, 2017)  
Hey friends, I am very new in learning SQL. . Can anyone tell me that what type of sorting I have to do, when I want to sort column in SQL.

Manveer Singh said: (Jul 17, 2019)  
But ORDER BY is used to sort column not rows.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.