I print data from an Oracle database with adodb in Excel 2007.
I have problems merging two sql queries. Now I use
and
and want to merge these, so the recordset contains two columns "amount_1" and "amount_24". I guess I need to make two queries and naming these somehow.
I have problems merging two sql queries. Now I use
Code:
SELECT AMOUNT FROM TABLE_NAME WHERE BUDGET_ID = 1
Code:
SELECT AMOUNT FROM TABLE_NAME WHERE BUDGET_ID = 20