Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting TOP 5 but in reverse order
Message
From
05/07/2006 00:30:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Selecting TOP 5 but in reverse order
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133722
Message ID:
01133722
Views:
60
I have the following SQL:
SELECT TOP 5 Video.Streaming FROM Video ORDER BY Video.Streaming DESC
Those represents the exact five records I want. But, in those five records, I need them in reverse order. I do not want to apply a reverse looping where I would show the data because I would like to have the data ready in that order from the SQL result.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform