Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aggregate sql statement against result of union statement

Status
Not open for further replies.

cazellnu

Technical User
Aug 15, 2002
41
CA
HI All

I'm currently using Pervasive SQL 8 and wonder if the feature would be available for the scenario below:

T1.C1 T2.C2
A 20
B 30
C 0

T2.C1 T2.C2
A 70
B 10

Result
A 90
B 40
C 0

The issue is if it is possible that I can link two tables together first then sum it according by the column C1.

Any help would be greatly apperciate... Thanks million
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top