Database - Introduction to SQL - Discussion
Discussion Forum : Introduction to SQL - General Questions (Q.No. 26)
26.
Which one of the following sorts rows in SQL?
Discussion:
8 comments Page 1 of 1.
Manveer Singh said:
6 years ago
But ORDER BY is used to sort column not rows.
Pooja said:
8 years ago
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.
Abhinav Raj said:
10 years ago
Select * from table_name order by column_name decrease;
Ibrahim said:
1 decade ago
Please give example on ORDER BY.
A Mruthyanjay said:
1 decade ago
There is no keyword in SQL as SORT BY.
A Mruthunjay said:
1 decade ago
ORDER BY keyword is used to sort the result-set by one or more columns.
Tibin said:
1 decade ago
Then what s the use of sort by?
Jaywant said:
1 decade ago
Order by: asc or dsc.
Group by: by group.
Group by: by group.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers