troubleshooting Question

join

Avatar of RaoVP
RaoVPFlag for United States of America asked on
Microsoft SQL ServerMicrosoft SQL Server 2005Microsoft SQL Server 2008
10 Comments1 Solution333 ViewsLast Modified:
Hi

I am using the below query which has a join condition in it. When i use the " sum(table1.column1)" ,then its taking me very,very long time to run the query

The query is as follows
SELECT
SUM(TABLE1.COLUMN1),
TABLE1.COLUMN2
FROM
TABLE1
JOIN
TABLE2
ON
TABLE1.COUMN3=TABLE2.COUMN3
GROUP BY
TABLE1.COLUMN2

ASKER CERTIFIED SOLUTION
Aneesh
Database Consultant
Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros