H
HelpPLEASE
Is it possible to join a crosstab Query with a Select
Query in ONE SQL statement if so, what is the general
syntax, or is there a better way to approach this. So
example:
In a crosstab query I yeild Totals for Delinquencies per
Category and then I want to merge a Total Balance column
on it:
Cross Tab:
PORTFOLIO | 30days | 60days | 90days
-------------------------------------
AG | 500 | 230 | 45
CRE | 380 | 60 | 75
SBA | 900 | 190 | 125
Total Query:
PORTFOLIO | BANK BALANCE
------------------------
AG | 30000
CRE | 75000
SBA | 29000
FINAL RESULT "I WANT"
PORTFOLIO | 30days | 60days | 90days | BANK BALANCE
Query in ONE SQL statement if so, what is the general
syntax, or is there a better way to approach this. So
example:
In a crosstab query I yeild Totals for Delinquencies per
Category and then I want to merge a Total Balance column
on it:
Cross Tab:
PORTFOLIO | 30days | 60days | 90days
-------------------------------------
AG | 500 | 230 | 45
CRE | 380 | 60 | 75
SBA | 900 | 190 | 125
Total Query:
PORTFOLIO | BANK BALANCE
------------------------
AG | 30000
CRE | 75000
SBA | 29000
FINAL RESULT "I WANT"
PORTFOLIO | 30days | 60days | 90days | BANK BALANCE