Explain the term sorting in ascending order and descending order using suitable examples?
answer it.
Answers
Answered by
2
Answer:
in SQL
Order by <column name>
is used for sorting in ascending and descending order.
for eg , you need to order the query in descending order of date (date is a column name in a table/relation)
we write,
select * from student
order by date Desc;
Answered by
0
Answer:
in SQL
Order by <column name>
is used for sorting in ascending and descending order.
for eg , you need to order the query in descending order of date (date is a column name in a table/relation)
we write,
select * from student
order by date Desc;
Similar questions