CHAPTER 12
STRUCTURED QUERY
LANGUAGE(SQL)
ORDER BY Clause
Used Sort the data Ascending(ASC) or Descending(DESC)
Default Sorts is ASCENDING(ASC)
Use (DESC) keyword to Change the data in descending order
SYNTAX
SELECT [<Column-name>,…] FROM <table-name>
ORDER BY <Column-name>..,ASC(or) DESC;
Select all the columns
Using order clause for Selected Columns
Using where clause for conditions
Group By Clause
•Used to group identical values.
•Divide the table into group
Syntax
Select<Column-name> From <table-name> Group By <column-name>
Having conditions;
12th class Chapter with example. Structured Query Language in SQL.

12th class Chapter with example. Structured Query Language in SQL.