From http://www.w3schools.com (Copyright Refsnes Data)
| « Previous | Next Chapter » |
We may use SQL to specify how to sort the data in the record set.
We want to display the "Companyname" and "Contactname" fields from the "Customers" table, ordered by "Companyname" (remember to save the file with an .asp extension):
Example
Show example » |
More Examples |
Sort the records on a specified fieldname
descending
How to sort the data on a specified fieldname.
Let the user choose what column to sort on
Let the user choose what column to sort on.
| « Previous | Next Chapter » |
From http://www.w3schools.com (Copyright Refsnes Data)