Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL COUNT Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01223186
Message ID:
01223280
Views:
27
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
Previous
Reply
Map
View

Click here to load this message in the networking platform