Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many records?
Message
De
21/06/1998 07:53:53
 
 
À
21/06/1998 06:04:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00110343
Message ID:
00110355
Vues:
23
>Hi all!
>
>I have a table with 3 fields
>
>order store pallet
>22 1 234
>22 1 235
>22 1 236
>23 1 240
>23 1 241
>
>How to use a SELECT so i know that order 22 have 3 records
>and order 23 have 2 records??
>
>Best regards
>
>Per Simmersholm

SELECT order, CNT(*) as NumLines;
FROM MyTable ;
GROUP BY order
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform