Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One SQL, two SQLs, three SQLs, four...
Message
 
 
To
21/01/2003 17:21:19
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00744004
Message ID:
00744025
Views:
9
select pkfield, table1.anotherfield, 
 ( SELECT max(field2) from table1 t12 where t11.pkfield = t12.pkfield) as maxfield 
from table1 t11
>Hi Fred
>
>I really must have two consecutive SQLs as I need MaxField in the final output. Your answer was right, since I asked the wrong question! The second SQL should have been ...
>
<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform