Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get an histogram of a field ?
Message
From
08/03/2007 15:47:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How to get an histogram of a field ?
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01202081
Message ID:
01202081
Views:
57
Hello,

In a VFP table, I would like to have an histogram of a field. (To know how the field is populated).
This field can be Numeric or Character.

For example, output will be :

In field NB_TEST :
string "ABCDEF" : 10000 occurences (present in 10000 records)
"TEST1" : 5600 occur
"TESTxx" : 150 occur

Is it possible to have such a thing with a SQL request ?
Or if it's not, how can I get this ??

Thanks a lot !
Regards
Steph
Next
Reply
Map
View

Click here to load this message in the networking platform