Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL COUNT Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01223186
Message ID:
01223280
Vues:
17
Kevin,

Can you please try all 4 select sql posted in this thread and post speed results? I'm curious which one is better.

Thanks a lot in advance.

>Great. Thanks Sergey
>
>
>
>>Following query should work too
>>
>>SELECT mh.Caption, mh.Icon, COUNT(mi.Parent ) AS Total;
>>	FROM MenuHead MH;
>>	LEFT JOIN MenuItems mi on mi.Parent = mh.id;
>>	GROUP BY mh.Caption, mh.Icon;
>>	INTO CURSOR Temp1
>>
>>>Forget that. I must have copied & pasted wrong. I did it again and it worked.
>>>
>>>Thanks everyone.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform