Answer:
For sorting we use order by clause in select statement. This is used to sort data in ascending order or descending order.
To group data based on perticulr column we use groupby clause.
Both are used to get distinct values.
To group data based on perticulr column we use groupby clause.
Both are used to get distinct values.
Previous Question | Next Question |
Explain How do we eliminate the duplicate rows? | Explain What is the maximum number of triggers, can apply to a single table? |