Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Funny BUG and Serious ISSUE
Message
From
02/04/2005 17:00:12
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01001002
Message ID:
01001035
Views:
18
>
SELECT ;
>	id, ;
>	(SELECT COUNT(*)FROM tree WHERE parentId=T.id)>0 AS hasChild ;
>	FROM tree T
>
I don't post it because it is like SELECT MAX(.T.), but slower.
Previous
Reply
Map
View

Click here to load this message in the networking platform