Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Min and Max values
Message
 
To
10/09/2000 15:45:34
Ian Johnston
Computer Software Solutions
Woodland, California, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00414721
Message ID:
00414723
Views:
29
>I am doing a select against a table with a group by clause, I wish to have the cursor contain the min and max values for the group, I am not getting the correct values. the select is as follows :
>sele district,route,min(odometer) as begin_point, .f. as found_beg, max(odometer) as end_point, .f. as found_end ;
>from pcs!pcs_locations group by district,route into cursor log_data
>
>TIA
>Ian


I suppose your need Min/Max group by route. ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform