Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing to improve Group by statements
Message
From
14/06/2001 12:23:03
Valter Herman
Tuesday Morning, Inc.
Dallas, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Indexing to improve Group by statements
Miscellaneous
Thread ID:
00519480
Message ID:
00519480
Views:
62
If I'm performing an sql retrieval statement would indexing on the columns in the group by statement speed up the process?
Here's an example:

Select Sum(Hours_Worked) from tblCustomer
Group By Department_Name
Where Last_Name > 'Herman'

Suppose I already had an index on Last_Name. Would adding an index to Department_Name speed things up any?

Thanks,

Valter
Next
Reply
Map
View

Click here to load this message in the networking platform