Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COUNTon a computed field in SQL SELECT
Message
From
12/06/2001 16:30:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/06/2001 16:20:40
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00518587
Message ID:
00518594
Views:
7
>ie:
>
>sele str(auction,5,0)+lotno as auctoin from larglots group by auctoin having count(auctoin) >1 order by auctoin into cursor xxy

I would use count(*), since it doesn't matter which field you count.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform