Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One SQL, two SQLs, three SQLs, four...
Message
 
 
À
21/01/2003 17:21:19
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00744004
Message ID:
00744025
Vues:
12
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform