Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible in one Select Statement?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Is it possible in one Select Statement?
Miscellaneous
Thread ID:
00614551
Message ID:
00614551
Views:
64
Hi
I have a table with 3 fields: Date, Supplier and Days ( number of days . Is it possible, in one select statement, to group the number of days by supplier, but as a percentage within a range, i.e:
Supplier Name    1-2 days    3-6 days    7+ days
-------------
Supplier1          20%         30%          50%
Supplier2          35%         35%          30%
The date field is for the date range, and is in the where clause.

Thanks in advance,
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Next
Reply
Map
View

Click here to load this message in the networking platform