Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COUNTon a computed field in SQL SELECT
Message
De
12/06/2001 16:30:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/06/2001 16:20:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00518587
Message ID:
00518594
Vues:
8
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform