Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting DISTINCT
Message
De
05/10/2000 16:51:41
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00425306
Message ID:
00425673
Vues:
16
I do now. Sorry I was so slow. I wasn't thinking about acc's having a mix of years. The tables I tested on allowed me to come to the wrong conclusion. You are right about the subquery getting executed repeatedly for each row retrieved in the main query. Could the acc_field condition be lifted out of the subquery and be part of the main query and the "like '5%'" be changed to "= '5'" and get the same results? Notice I'm not so sure about things now.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform