Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving complete row with MIN()
Message
From
03/05/2001 12:02:16
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00503015
Message ID:
00503097
Views:
20
I was responding to the issue which our friend posted.

As you're aware, when a SQL aggregating function is used on one field of a SELECT, all other fields in the result set must either be couched in an aggregating function or be included in the GROUP BY clause for the values to be meaningful. Fields not handled in this way return results which are implementation dependant -- in otherwords, not meaningful. This explains the situation our friend ran into of data combined between records.

Since your example only returns 1 field -- that couched in a MIN -- it will return meaningful results.


Jay
Previous
Reply
Map
View

Click here to load this message in the networking platform