Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To optimize Select - SQL, Group by
Message
De
30/11/2005 09:46:48
 
 
À
29/11/2005 17:19:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01073030
Message ID:
01073217
Vues:
16
>Hi, is it possible to make Rushmore optimization work here:?
>
>Table1's PK expression is PKF1 + PKF2
>
>
>Select PKF1, PKF2, Count(1) as nDup from Table1 group by PKF1, PKF2 ;
>Having nDup > 1
>
>
>
>Do I have to add any WHERE clause or any tip to see Optimization:Full?
>
>
>Current result is "Optimization: None"
>

There's nothing to optimize here. By the time the GROUP BY is executed, the engine is working with intermediate results.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform