Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tricky sql selection
Message
From
16/02/2001 21:47:41
Bob Lucas
The WordWare Agency
Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00476778
Message ID:
00476940
Views:
33
What I have found is that it picks or uses the last value for the field that it encounters, in the case of the Max function, it will choose the value attached to the record that meets the max condition, so it will work, but it is not really technically correct. A hidden feature!


>>You could also add posname to the view, which works with VFP sql but breaks ANSI Sql (all fields must be in the group by except summation fields).
>
>It works, in the sense that it won't err, but it does not pick the posname value from the right record. When it does it is a coincidence.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform