Skip to content

Commit badab0e

Browse files
committed
Fetching in Alphabetical order.
1 parent 6561ea2 commit badab0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

4. Sorting.sql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ select name from student order by Right(name,3);
1616

1717
select name from student order by Left/Right(name,n),ID;
1818

19-
-- (NEWW_COMMIT)
2019
-- where marks is the constraint.
2120
select Name from STUDENTS where Marks>75 order by right(Name,3),ID ;
2221

22+
-- (NEWW_COMMIT)
23+
-- fetching in alphabetical order (Use Asc keyword.)
24+
select name from student order by name ASC;
25+

0 commit comments

Comments
 (0)