C
catherine2255
Hi,
I am having problems with my sql for my table, I have vertical figures
which I want to put in horizontally in an sql query:
Original data
Name Amount Quantity
Cath 10 20
The problem I have is I need it to look like this:
Name Type Value
Cath Amount 10
Cath Quantity 20
I am trying the transform on SQL but I can only enter it once and then
it errors.
so far I have 2 queries one for amount and another for quantity then I
do a seperate Union query, but I want to keep the database smaller and
would like to know if its possible just to put this in one query.
thanks for your input!
Catherine
I am having problems with my sql for my table, I have vertical figures
which I want to put in horizontally in an sql query:
Original data
Name Amount Quantity
Cath 10 20
The problem I have is I need it to look like this:
Name Type Value
Cath Amount 10
Cath Quantity 20
I am trying the transform on SQL but I can only enter it once and then
it errors.
so far I have 2 queries one for amount and another for quantity then I
do a seperate Union query, but I want to keep the database smaller and
would like to know if its possible just to put this in one query.
thanks for your input!
Catherine