Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00170260
Message ID:
00170276
Views:
17
>>Is there any way using one select statement get as result a top, let's say 10
>>MAX() values from field ?
>If I understand you right,
>SELECT TOP 10 * FROM myTable ORDER BY myField DESC
>should do it.

One 'strange' thing about VFP SQL: this will give you the top 10 values, as you asked for. However, if these 10 values occur in 100 records...
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform