
February 8th, 2013, 04:08 AM
|
|
Registered User
|
|
Join Date: May 2009
Posts: 4
Time spent in forums: 7 m 56 sec
Reputation Power: 0
|
|
Join Help
I have a table that contains info:
id, date, amount, amountType
amountType has 3 valid values (1, 2, 3)
I would like to create a statement that returns
id, date, amount (where amount type = 1), amount (where amount type = 2) amount (where amount type = 3)
In reality, the table and data are more complex, but I can't get the simpler scenario to work. This isn't really that difficult, is it?
Thanks for any input...
|