I would like to have a query for ASP Classic to be applied on an Access database.
1. Imagine that we have a table with the name of "Country".
2. Imagine that we have a column in "Country" that has this name: "CityMajor"
3. Imagine that we wish to have a query sort the items in this column, but with one exception: One of the records should stand on top of the other records while other records are sorted alphabetically.
4. An example could clarify this point. For example, we have the list of the following Major Cities in our list (Unsorted Alphabetically):
Paris
London
Tehran
Rome
New York
Berlin
Tokyo
5. Now we wish to have this list returned and sorted alphabetically, but with the exception that "New York" stands on top of the other cities. But the other items should be in alphabetical order:
New York
Berline
London
Paris
Rome
Tehran
Tokyo
How can I accomplish this query in ASP Classic for an Access Database?
Thank you in advance for any help in this regard.
1. Imagine that we have a table with the name of "Country".
2. Imagine that we have a column in "Country" that has this name: "CityMajor"
3. Imagine that we wish to have a query sort the items in this column, but with one exception: One of the records should stand on top of the other records while other records are sorted alphabetically.
4. An example could clarify this point. For example, we have the list of the following Major Cities in our list (Unsorted Alphabetically):
Paris
London
Tehran
Rome
New York
Berlin
Tokyo
5. Now we wish to have this list returned and sorted alphabetically, but with the exception that "New York" stands on top of the other cities. But the other items should be in alphabetical order:
New York
Berline
London
Paris
Rome
Tehran
Tokyo
How can I accomplish this query in ASP Classic for an Access Database?
Thank you in advance for any help in this regard.
Comment