Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Histogram SQL?
Message
From
09/12/2000 17:41:19
Rich Lieblich
Infosys Technologies, Inc.
Fanwood, New Jersey, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Histogram SQL?
Miscellaneous
Thread ID:
00451246
Message ID:
00451246
Views:
75
I need to run an SQL SELECT to do a histogram.... for example, the number of orders in each state:

NJ 456
AZ 2212
CA 12
MN 334

I know the SQL involves the DISTINCT option and the COUNT( ) function... can't seem to find the example I had from a few years ago... can anyone help?

Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform